Pete wrote:
> Presumably, you mean that there are no records for that product?
>>     if($result = mysql_query($query, $dbc)){
>         if (mysql_num_rows ($result)){
> ...(then you got some rows)
>         }else{
> (you didn't get any!)
>         }
> 
> Hope that's right. I use an object for connection, so don't need to
> worry about this <G>
> 

20080728 1546 GMT-6

Ah, that is what I was wanting to do. Thanks.

if($result = mysql_query($query, $dbc)){                                
                                                        
if(mysql_num_rows($result) > 0){
   while ($row = mysql_fetch_array($result)){


Reply via email to