Databases

=SQL for Beginners: Part 3 (with links to parts 1 and 2)= [|http://net.tutsplus.com/tutorials/databases/sql-for-beginners-part-3-database-relationships/]

=Placement of Sandbox Folder= On Mac -> MAMP/htdocs On Windows -> WAMP/htdocs = = =PHP and MySQL Database Interaction Steps=

1. Create a connection. 2. Select a database. 3. Perform a database query. 4. Use returned data, if any. 5. Close the connection.

PHP Syntax for Database Interaction Steps
code 

<!DOCTYPE html PUBLIC "-W3CDTD XHTML 1.0 StrictEN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">   Databases PHP  



 code