p2p.wrox.com Forums

Need to download code?

View our list of code downloads.


  Return to Index  

beginning_php thread: Error in userman.php : password impossible to edit


Message #1 on Mon, 28 Jan 2002 12:30:05
I am currently on chapter 13, "Manipulating Data in MySql using PHP".



Note! Original source code from your website is used here.



Configuration:



- Windows Xp Pro

- IIS

- PHP 4.1.1

- MySql 4.0.1





Following problems occurs when I run access_logger.php file.



-------------



in userman.php file I am having problems editing/updating password field.

When I click on View, window like on page 491 is showed, then after trying

to enter new password and click "Change User Record" I get this java alert

message:



"Error 1064: You have an error in your SQL syntax near Username='Joh Doe',

Usercountry='United States', Usermail='' at line 1"



Why?



Is it possible to change password from here?



-------------






  Return to Index