Re: [PHP] Insert Record (php.ini)

2002-12-25 Thread Javier
There are single quotes missing before %s -> '%s' > $insertSQL = sprintf("INSERT INTO stories (firstName, lastName, > address1, > address2, city, `state`, country, postCode, telephone, email, title, > story) VALUES (%s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s)", >Ge

Re: [PHP] Insert Record (php.ini)

2002-12-25 Thread Edson Waite
I checked and register_globals is ON, I am new to php and I am building on a tutorial from a book. below is the code any help would be appeciated. Thank you, Ed Waite "John W. Holmes" <[EMAIL PROTECTED]> wrote in message 000401c2ac90$8a2f77f0$7c02a8c0@coconut">news:000401c2ac90$8a2f77f0$7c02a8

RE: [PHP] Insert Record (php.ini)

2002-12-25 Thread John W. Holmes
> I am trying to create a form to insert records into a MySQL db what > setting > should I be looking at in the php.ini? My page seems to work and goes to > the > next page correctly without errors, but does not enter any information in > the database. Probably register_globals, if I had to guess

[PHP] Insert Record (php.ini)

2002-12-25 Thread Edson Waite
Hi all, Hope everyone had a Merry Christmas. I am trying to create a form to insert records into a MySQL db what setting should I be looking at in the php.ini? My page seems to work and goes to the next page correctly without errors, but does not enter any information in the database. Thanks in