starvator Posted June 27, 2009 Share Posted June 27, 2009 i have a form that submits data correctly to a database now, i need to put a form on a page where the user can change the value for their email thanks so, i need a way to alow the users to change their email <form action="email.php" name="registration" method="post"> Email: <input type="text" name="email" value="<?=$_SESSION['email']?>"> <input type="submit" value="Update"> </form> would this work? if it does work, what do i put on email.php? thanks a bunch Link to comment https://forums.phpfreaks.com/topic/163834-replace-data-in-mysql-table/ Share on other sites More sharing options...
Ken2k7 Posted June 27, 2009 Share Posted June 27, 2009 What's the pertinent SQL for that? Link to comment https://forums.phpfreaks.com/topic/163834-replace-data-in-mysql-table/#findComment-864454 Share on other sites More sharing options...
starvator Posted June 27, 2009 Author Share Posted June 27, 2009 What's the pertinent SQL for that? i do not understand what you mean... Link to comment https://forums.phpfreaks.com/topic/163834-replace-data-in-mysql-table/#findComment-864457 Share on other sites More sharing options...
Ken2k7 Posted June 27, 2009 Share Posted June 27, 2009 Post up the SQL. This is a MySQL forum. Link to comment https://forums.phpfreaks.com/topic/163834-replace-data-in-mysql-table/#findComment-864470 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.