how do you connect to database in PRADO

hi alex, its my first time to handle php framework. can you guide me how to connect to mysql database thru PRADO coz right now im totally mixed up.. thanks!

another thing:

Should I study ASP.NET since PRADO FRAMEWORK has similarity in it... thanks!

Database connection in PRADO

Prado connects to the database in the .NET ways, so you can use either application configuration file as described at
http://www.pradosoft.com/demos/blog-tutorial/?page=Day2.ConnectDB
or establish connection using the http://www.pradosoft.com/docs/classdoc/TDbConnection class.

To connect to the MySQL database, the mysql pdo extension should be enabled. The connection string is the PDO connection string.
You can find a few examples here: http://php.net/pdo.

I think that learning .NET to use PRADO is not necessary, but of course it will help you in understanding the basic concepts. So I do not think the learning details of .NET DataGrid will help much with Prado, but general articles about ViewState management and page processing states are undoubtedly useful.

Sincerely,
Alex

thank you very much... :D

thank you very much... :D