Thread: Salve!
View Single Post
Old 01-08-2008, 06:41 PM   #11 (permalink)
RobertK
The Addict
Top Contributor Good Samaritan 
 
Join Date: Jan 2008
Location: USA
Posts: 217
Thanks: 16
RobertK is on a distinguished road
Default

Quote:
Originally Posted by Gareth View Post
Would there be an easy way to carry over the $_POST values?
Yup. For each input use something like:
PHP Code:
echo  '<input type="text" value="'.(isset($_POST['name']) ? mySafetyFunc($_POST['name']) : '').'" />'
Quote:
Originally Posted by Gareth View Post
Thanks again :)
No problem, glad to help! If you'd like me to take another look again some time, just send a PM my way.
__________________
Programmers are in a race with the Universe to create bigger and better idiot-proof programs, while the Universe is trying to create bigger and better idiots. So far the Universe is winning. - Rich Cook
RobertK is offline  
Reply With Quote