> comentario) VALUES ('$nombre', '$direccion', '$telefono', '$email',
> '$pais', '$comentario')";
>
> There is no need for the \n in the SQL call.
>
>
> -Original Message-
> From: Luis A [ma
'];
$pais = $_POST['$pais'];
$comentario = $_POST['$comentario'];
$sql = "INSERT INTO agenda (nombre, direccion, telefono, email, pais,
comentario) VALUES ('$nombre', '$direccion', '$telefono', '$email',
'$pais', '$comentar
"He" probably needs register_globals turned ON in your php.ini file.
---John Holmes...
- Original Message -
From: "Luis A" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, March 04, 2003 11:49 PM
Subject: [PHP] TO Bryan LipscyRe: [PHP] i got a
)
- Original Message -
From: "Bryan Lipscy" <[EMAIL PROTECTED]>
To: "'Luis A'" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Wednesday, March 05, 2003 12:27 PM
Subject: RE: [PHP] i got a problem
> Try
>
> echo $sql;
>
> T
Try
echo $sql;
To check your sql before execution.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
uis A" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Wednesday, March 05, 2003 11:16 AM
Subject: Re: [PHP] i got a problem
> Try
>
> $result = mysql_query($sql) or die(mysql_error());
>
> to see what the problem is.
>
> ---John Holmes...
>
> - Origi
Try
$result = mysql_query($sql) or die(mysql_error());
to see what the problem is.
---John Holmes...
- Original Message -
From: "Luis A" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, March 04, 2003 9:29 PM
Subject: [PHP] i got a problem
hi eve
hi every one here
o got one problem here on the php
take a look at this
Nombre :
Teléfono:
E-Mail:
Pais :
Comentario: escriba aqui su el
comentario que desee añadir
aparently php create the table on the mysql server (he make the connect to the mysql
server) , but he does in
8 matches
Mail list logo