Guess what?
add this on top of the file:
error_reporting(E_ALL);
this will probably tell you these variables are unset :) Why? Register
global... wrong logic... etc...
What php 4 is exactly installed there?
--
Maxim Maletsky
[EMAIL PROTECTED]
"Sunfire" <[EMAIL PROTECTED]> wrote... :
> hi
Have you tried echo'ing out the variable before and after the mysql_query?
> -Original Message-
> From: 1LT John W. Holmes [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, January 29, 2003 6:20 AM
> To: Sunfire; [EMAIL PROTECTED]
> Subject: Re: [PHP] php and sql problem
> im having a little problem with mysql_query("insert into members
> ('$company', '$name1', '$name2', '$address1', '$address2', ''$ac1',
'$ext2',
> '$num1', '$ac2', '$ext2', '$num2', '$city', '$state', '$zip', '$desc',
> '$flags')");
>
> for some reason those variables are empty by the time they ge
At 05:17 29.01.2003, Sunfire said:
[snip]
>hi ...
>
>im having a little problem with mysql_query("insert into members
>('$company', '$name1', '$name2', '$address1', '$address2', ''$ac1', '$ext2',
>'$num1', '$ac2', '$ext2', '$num2', '$city', '$state', '$zip',
hi ...
im having a little problem with mysql_query("insert into members
('$company', '$name1', '$name2', '$address1', '$address2', ''$ac1', '$ext2',
'$num1', '$ac2', '$ext2', '$num2', '$city', '$state', '$zip', '$desc',
'$flags')");
for some reason those variables are empty by the time they get i
5 matches
Mail list logo