ia iii <[EMAIL PROTECTED]>
Cc: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Wednesday, July 25, 2001 5:23 AM
Subject: RE: [PHP-DB] Problem with my first script
>Thanks, but it wont work.
>I have eliminate the space but still the same message.
>I have realized that the probl
on 6/24/01 7:23 PM, Fernando Gonzalez at [EMAIL PROTECTED] wrote:
> I have eliminate the space but still the same message.
> $myrow=mysql_fetch_array ($result);
> Fatal error: Call to undefined function: array() in
> /home/fergonza/mod_php4/index.php on line 18
I wonder if somehow you have an
1. safe to assume that there is a column named "nombre"?
2. try using index numbers instead, i.e;, instead of $myrow("nombre"),
try $myrow(1)...
Fernando Gonzalez wrote:
>
> Thanks, but it wont work.
> I have eliminate the space but still the same message.
> I have realized that the problem i
direccion$telefono$fax";
$cur++;
}
echo "";
?>
- Original Message -
From: leo g. divinagracia iii <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Tuesday, July 24, 2001 7:52 PM
Subject: Re: [PHP-DB] Problem with my first script
>
ion$telefono$fax";
$cur++;
}
echo "";
?>
- Original Message -----
From: Craig Vincent <[EMAIL PROTECTED]>
To: Fernando Gonzalez <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Tuesday, July 24, 2001 8:38 PM
Subject: RE: [PHP-DB] Problem with m
$myrow=mysql_fetch_array ($result);
Remove the space in the function call and it should work fine for you
ie.
$myrow=mysql_fetch_array($result);
Sincerely,
Craig Vincent
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e
i havent tested it yet... but...
Fernando Gonzalez wrote:
>
> $num=mysql_num_rows($result);
> $cur=1;
> while($num>=$cur){
> $myrow=mysql_fetch_array ($result);
^^
you got a space after the function and the open paren. NO SPACES
(as i found before