topr8 - 8:45 am on Apr 17, 2013 (gmt 0)
not enough coffe! you are doign an update:
yeah but does that work with the hardwired values, like i asked before, i know it connects to the database and runs the query, but it doesn't do the update ...
is there a user called John Smith in the database? if not that's why you got the no rows updated message before.
but if that works even with no rows updated (eg it connects but there was nothing to update) then you are not insertign or settign the variables correctly.)
as i said use the code including all variables and echo out:
and see what you have ...
echoing it out with the hard coded values is a waste of time you know that works.
you need to enter a test user into your database (you have got test users in there right? POST the two passwords and the user name to the page and see what happens)