View Single Post
  #2 (permalink)  
Old 2003-06-11, 07:20 AM
Slick
Guest
 
Posts: n/a
Default

Doesn't really seem to be anything wrong with the query, but try:
if(!$numresults=mysql_query($query)){
// error occurred so print the mysql error message
echo("DB Error Occurred: " . mysql_error());
}
else{
$numrows=mysql_num_rows($numresults);
// ... continue with rest of your code
}

instead of just:
$numresults=mysql_query($query);

At the very least, this will narrow down your scope for errors.
Reply With Quote