December 2002
Intermediate to advanced
496 pages
9h 40m
English
Now that we have covered the basics of PHP, we get to the good stuff. PHP provides built-in functions to connect to and query a MySQL database. This is one of the main benefits of using PHP. Many Web programmers turn to PHP for a seamless interface between their web pages and MySQL.
We’ll start with the basic PHP functions necessary to connect to the MySQL server, execute a simple database query, and display the result.
Most of these functions have default values for the arguments. One such default argument is the empty string for a password. That’s just plain silly! We will not discuss the arguments in detail—if you are interested in all the details, check out www.php.net/manual/en/ref.mysql.php ...
Read now
Unlock full access