Re: [PHP-WIN] cannot write to mySQL database

2002-03-04 Thread pilotdave
Woohoo, the problem seems to have been register_globals being off. In reading the php.ini info about it, it sounds like having it on can be dangerous. I tried following the instructions in the manual about using variables with register_globals off but couldnt get it to work so i just turned it o

Re: [PHP-WIN] cannot write to mySQL database

2002-03-04 Thread pilotdave
Ok, making progress. My updated code is below. with full error checking, i get no errors on loading the page. I do get an error when i attempt to submit. It does not recognize $action as being a variable: [Mon Mar 04 13:46:33 2002] [error] PHP Warning: Undefined variable: action in c:\homepa

Re: [PHP-WIN] cannot write to mySQL database

2002-03-04 Thread pilotdave
"Nicole Amashta" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED].; > Could you post the code you are trying to use to do this? It may just be a > coding issue and not MySQL at all. > Sure. The database is called movies1db, username is movies, password is database. This definitely

Re: [PHP-WIN] cannot write to mySQL database

2002-03-02 Thread pilotdave
ve Mysql set as 'Read Only' Look at the doc. > A+ > Alain > > > -Original Message- > From: pilotdave [mailto:[EMAIL PROTECTED]] > Sent: Saturday, March 02, 2002 5:06 PM > To: [EMAIL PROTECTED] > Subject: [PHP-WIN] cannot write to mySQL database > > >

[PHP-WIN] cannot write to mySQL database

2002-03-02 Thread pilotdave
I am just setting up my first php/mySQL/Apache website running on a win98 machine. I got it working so it can read data from the database, however it seems to be unable to write to the database. I can send queries to it. I am getting the feeling that its a problem with write permission somehow.