how does one successfully use mysql_store_result()?

2002-08-28 Thread Will French
If I understand you correctly, then you are trying to figure out how to distinguish between an empty result set vs. no result set (i.e. an error if statement was a SELECT). In the case of an error (or a not result set returning statement like INSERT), mysql_store_result will return null. In the

how does one successfully use mysql_store_result()?

2002-08-28 Thread Angel Moon
HOW does one use this to confirm a record set? for instance, if mysql_store_result() = 0 then do nothing end if where mysql_store_result() returns an empty set on a select statement. any help obtained would be WONDERFUL!!! sorry, i'm new to this, the syntaxtual information is quite confus