Quote:
|
Originally Posted by pedro
I think your problem lies in connecting to the database using PHP or whatever else you may be using. I don't know much PHP, but i'm guessing it shouldn't be more than 10 lines of code to set up a connection, and then use some of the SQL statements that were mentioned above.
Of course if it were up to me, I wouldn't use PHP in the first place (ColdFusion is way more straight forward), but that's another topic...
|
Just for the record, it depends on how you'd like to connect to the db on how many lines it'd take.
Here's the smallest way to connect to a db IMO (incase you are having trouble with connecting):
PHP Code:
<?php
$db = mysql_connect_db("localhost", "fred", "loves_wilma");
mysql_connect($db);
mysql_close();
?>
It may not be totally correct syntax, but that's because I haven't touched PHP in a while