Re: [PHP] php and sql problem with mysql_query and insert

2003-01-29 Thread Maxim Maletsky
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

RE: [PHP] php and sql problem with mysql_query and insert

2003-01-29 Thread Bryan Brannigan
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

Re: [PHP] php and sql problem with mysql_query and insert

2003-01-29 Thread 1LT John W. Holmes
> 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

Re: [PHP] php and sql problem with mysql_query and insert

2003-01-29 Thread Ernest E Vogelsinger
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',

[PHP] php and sql problem with mysql_query and insert

2003-01-28 Thread Sunfire
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