|
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.
|