MySQL help
#3

If you only need to detect one missing value and you know what it is, put this in your sql query string:
Код:
SELECT `id` FROM `<your table name>` WHERE `id` = '<missing number>'
then check the amount of rows it returns with mysql_num_rows() function. If it's 0, then the value was not found.
Reply


Messages In This Thread
MySQL help - by -Prodigy- - 21.02.2012, 00:06
Re: MySQL help - by JamesC - 21.02.2012, 01:05
Re: MySQL help - by s0cket - 21.02.2012, 01:19
Re: MySQL help - by MP2 - 21.02.2012, 03:10
Re: MySQL help - by [HiC]TheKiller - 21.02.2012, 04:32
Re: MySQL help - by -Prodigy- - 21.02.2012, 16:36

Forum Jump:


Users browsing this thread: 2 Guest(s)