On Tuesday, 12. February 2002 03:22, [AFQ]T1T4N wrote:
G'Morning!
Put an echo mysql_error(); behind your mysql_query statement and check error
ouput.
>
>
>include("config.inc");
> $db = mysql_connect($servidor, $usuariodb, $password);
> mysql_select_db($base,$db);
> ?>
>$result =
PROTECTED]>
Sent: Tuesday, February 12, 2002 1:28 AM
Subject: Re: mysql_fetch_array
>
> On Mon, 11 Feb 2002, [AFQ]T1T4N wrote:
>
> > dear friends..
> >
> > i'm doing a simple script that use mysql_fetch_array() and it give me
the
> > following error.
> >
On Mon, 11 Feb 2002, [AFQ]T1T4N wrote:
> dear friends..
>
> i'm doing a simple script that use mysql_fetch_array() and it give me the
> following error.
>
> Warning: Supplied argument is not a valid MySQL result resource in
> /apache/htdocs/html/intranet.domus.cl/base.php on line 10
>
>
You're missing the semi-colon after the ($query) on the previous line
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 22, 2002 10:26 AM
Cc: [EMAIL PROTECTED]
Subject: mysql_fetch_array
i'm checking a php that has the following thing
$result1=
while ($line = mysql_fetch_array($result1)
{
execute your code
}
Curtis
Original Message
From: [EMAIL PROTECTED]
Date: Tue 1/22/02 11:40
To: Undisclosed Recipients
Cc: [EMAIL PROTECTED]
Subject:mysql_fetch_array
i'm che