Expression Engine中的数据库连接

I am starting to learn expression engine cms. in this,I want to fetch some data from database manually in expression engine. please tell me how can we give database connection and how to get data from database.

if you have any links regarding this ..please share that one to me..

thank you.

Meaby just start here: http://ellislab.com/expressionengine/user-guide/how_to/building_a_simple_news_site.html

and after building a simple application come with some more detailed (specific) questions, dont wonder why they downvoted You, people here dont like such major questions like:

How to use X`

Good luck anyway.

Yes, you can do this in templates using the bulit-in query module. Please have a look here at the official documentation:

http://ellislab.com/expressionengine/user-guide/add-ons/query/

If you are interested in add-on development, the database class section of the documentation has a lot of good information on the matter:

http://ellislab.com/expressionengine/user-guide/development/usage/database.html