tnx for the response,

it was the query which caused the errors ("wrong result-link").

grtzz,
me.
       [ProMoozz signature script initiated]
                     [Sharon equalzz Hitler]
                    [msg written - msg read]
      [ProMoozz signature script terminated]
http://www.kotbelasting.be - http://www.kotbelasting.be
----- Oorspronkelijk bericht -----
Van: "Austin Marshall" <[EMAIL PROTECTED]>
Aan: "Http://Www.Promoozz.Org"; <[EMAIL PROTECTED]>
CC: <[EMAIL PROTECTED]>
Verzonden: zaterdag 11 mei 2002 23:41
Onderwerp: Re: an sql_layer


Http://Www.Promoozz.Org wrote:
> i'm sweating on this one :
>
> function sql_fetch_row($res, $nr)
> {
> global $dbtype;
> switch ($dbtype) {
>
>     case "MySQL":
>         $row = mysql_fetch_row($res);
>         return $row;
>     break;;
> ...
> }
>
> it iz used in a php_layer.php from phpnuke, but somehow it gives errors... if
i put a "@" like this:
>
>         $row = @mysql_fetch_row($res);
>
> i get no errors, but no result either. Where stands the @ for? I can't find
any info on thizz, what's wrong?
>
>        [ProMoozz signature script initiated]
>                      [Sharon equalzz Hitler]
>                     [msg written - msg read]
>       [ProMoozz signature script terminated]
> http://www.kotbelasting.be - http://www.kotbelasting.be
>

First off, anyone using phpnuke is on their own, try phpnuke.org for
help.  But an @ before a function suppresses error messages, it doesn't
make errors go away, so it's doing precisely what it is supposed to.  I
also see two ;'s in a row, perhaps that is the problem, or perhaps the
query was bad and that renders fetch_row useless.

We or anyone would have a far better chance of helping out if you
explained what the error is... it will be alot easier than debunking the
  code of phpnuke on our own.







-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to