From: Jason <ok...@kd...> - 2003-01-28 02:19:50
|
Hello, I figured it out. I had the primary key, in the database named Key, I changed the name to id, and the updates work. Key must be a reserved word in phpmyedit. Thanks Jason ----- Original Message ----- From: "Jason" <ok...@kd...> To: <php...@li...> Sent: Monday, January 27, 2003 4:59 PM Subject: phpMyEdit.class.php on line 2398 > Hello, > > I am running FreeBSD 4.7 / Mysql and have installed version phpmyedit 5.1 > > I am able to add new records to a generated webpage/database, just not > change a record, I keep getting this error > > Warning: Supplied argument is not a valid MySQL result resource in > /usr/local/www/phpmyedit/phpMyEdit.class.php on line 2398 > > I produce the same results on a few computers with different versions of > phpmyedit > > There are seven varchar(25) fields in the mysql table and one auto_increment > key field > > I have made no changes to the default generated phpmyedit php file. > > I must copy and paste the generated php page to the root phpmyedit folder, > the permissions are unable to write to. not sure why. > > When I re-download the phpmyedit tar ball and extract it with ark, it > defaults to a user 502 and group 100, how come? > > Thank you for your time and help, > > Jason > > Sorry for the dup post > > |