MySQL (Part 2)

  • Connecting to the database and inserting dummy data into the database. 
  • mysql_connect("server_addr", "username", "password") - Connect to the Database Server with the authorised user and password.  
  • mysql_select_db("database_name") - Selecting a database within a connected database server. 


http://pastebin.com/6H5zHQ8K

0 comments:

Post a Comment