Combining my sql and php?


#1

Hi i’m trying to produce a multipul choice testing system.

I have made a mysql database then have written some code in a text pad and put this into the local host of a wamp server.

Can some one please tell me how I combine the database and the code?

thanks


#2

I’d doubt anyone would have ‘the correct’ script for you, or a suited database layout. For something as simple as connecting a PHP script to a MySQL database (and yes, it truly is simple, as these two are practically married together), I’d suggest reading the following article (and using some of their links):

http://www.php.net/manual/en/ref.mysql.php