Receiving GET parameters Connecting to mysql PHP echo sql queries -http://wiki.hashphp.org/PDO_Tutorial_for_MySQL_Developers#Getting_the_Last_Insert_Id