Re: Question re: Displaying data on a website.

2002-10-31 Thread Pekka Saarinen
At 11/1/2002, you wrote: I have a website using PHP and MySQL and having a problem. This is what I have: $db = mysql_connect("1.1.1.1","name","password"); mysql_select_db("database"); $query = "SELECT title, artist FROM songlist WHERE songlist.songid=1"; $result = mysql_query($query) or die("Que

Question re: Displaying data on a website.

2002-10-30 Thread Beauford
I have a website using PHP and MySQL and having a problem. This is what I have: $db = mysql_connect("1.1.1.1","name","password"); mysql_select_db("database"); $query = "SELECT title, artist FROM songlist WHERE songlist.songid=1"; $result = mysql_query($query) or die("Query failed"); Then I have