$id = rand(1,2);
  $query = "SELECT songname FROM mp3 WHERE sgid = " .$id;
  $result = mysql_query($query,$connection);
  $mp3d = mysql_fetch_array($result);

the server is telling me line 43(which starts with $mp3d) is not a valid
mysql result resource. what am i doing wrong??


PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to