How do I rewrite this as a php function?
Hi All
When I pull each value from my database into a form field, I need to prepare the data as follows:
<?=htmlspecialchars(stripslashes($row[3]), ENT_QUOTES)?>
How would I rewrite the above functionality as a function so that I can easily apply the functionality to every form field without needing to do so much typing?
Thanks all
Accelerator
__________________
WebRef.eu - Web Development Resources for the Online Entrepreneur
|