I think you can use this: http://www.php.net/manual/en/function.mysql-num-rows.php
- E > >Forgot to add one thing - I don't need to add the new number after detection >to the db but rather just print it out > > >"Johnp" <[EMAIL PROTECTED]> wrote in message >[EMAIL PROTECTED]">news:[EMAIL PROTECTED]... >Ok I have a script done but it does not work - If there is no info in the db >row I need the script to detect that and enter a number - the problem I am >having is that if the row is empty it will return nothing - is there a >function or something else that you can use to return true if a db row is >completly empty?? > >Thanks - JohnP > > > > >-- >PHP General Mailing List (http://www.php.net/) >To unsubscribe, visit: http://www.php.net/unsub.php _________________________________________________________________ ウィルスメール、迷惑メール対策なら MSN Hotmail http://www.hotmail.com/JA -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php