please help me with a query. Do you think the following should work, or is it only possible with integers? I am trying to return those columns where one row has a field named beer, and one row has a field named wine. Do to the current setup, I’m unable to use the row ID. Or is this impossible?
i don’t do php but you get this because your query died before it executed and you’re not testing for successful execution (don’t ask me how to do that) before using mysql_num_rows()