how can i check if a mysql query in php has returned an empty set.
I have a page that requires two queries, but want to format it slightly differently if the first query returns the empty set, i.e:
if(1stquery=emptyset){
format this way
}
else{
format that way
}
hope thats clear enough
TIA
I have a page that requires two queries, but want to format it slightly differently if the first query returns the empty set, i.e:
if(1stquery=emptyset){
format this way
}
else{
format that way
}
hope thats clear enough
TIA