• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Using form validation on edit form and having form re-population?

#4
[eluser]mattpointblank[/eluser]
Try this:

Code:
<input type="text" name="email" value="<?php echo set_value('email', $user['email']); ?>" />

First time you load the form it'll show the $user['email'] value from your database. If you change this value then submit the form (but make a validation error somewhere) it'll remember the updated value you changed.


Messages In This Thread
Using form validation on edit form and having form re-population? - by El Forum - 04-29-2010, 07:19 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


Users browsing this thread:
1 Guest(s)


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2019 MyBB Group.