View Single Post
Old 04-17-2006, 11:19 AM  
Azlord
Confirmed User
 
Azlord's Avatar
 
Industry Role:
Join Date: Dec 2003
Location: City... City of Satan
Posts: 2,651
Well, do you have an ID column in your table? if so, you can always do something like
if ($row['id'] = mysql_num_rows($res)) {
echo "whatever without the comma";
} else {
echo "what you want";
}

I think that would work. There might be a small catch. Can't really tell unless I had something to test with.
Azlord is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote