Re: Error after a while???
| From: | M.B. | Date: | Sat, 14 Sep 2002 17:45:59 +0000 |
| Subject: | Re: Error after a while??? | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-15817@lists.php.net to get a copy of this message | ||
Heb de oplossing al:
Op één of andere nog onverklaarbare manier verdwijnen er af en toe tabellen
waarnaar uiteindelijk verwezen wordt vanaf de user.
Nu nog er achter zien komen waarom die af en toe verdwijnen en dan is het
opgelost.
Bedankt alllemaal voor jullie inzet
M.B.
"M.B." <micb_@hotmail.com> schreef in bericht
news:20020911192842.20983.qmail@pb1.pair.com...
> Hi, I have a database and a site which has members and so on......
> but now I have service (also for a long time)
> http://www.wjp.cjb.net
> a guestbook service.
> But yesterday somebody mailt me to say that this error was on his
> guestbooksite:
>
> Warning: mysql_num_rows(): supplied argument is not a valid MySQL result
> resource in /home/k/l/klaassen/public_html/WJP/include/gastenboek.php on
> line 9
>
> Warning: mysql_fetch_object(): supplied argument is not a valid MySQL
result
> resource in /home/k/l/klaassen/public_html/WJP/include/gastenboek.php on
> line 28
>
>
> I checked his table and found out that the table is empty.
> What could there be wrong with this line of code if a table is empty?
>
>
>
> And what can I do about it.
> It never accurred before and we tested this service a lot before we
started
> using it, and then there wasn''t any problem at all when a table was
empty.
> (PS all the fields in the table have the option that they are allowed to
be
> empty.)
>
> M.B.
>
>