View Single Post
Old 01-10-2009, 01:28 PM   #12 (permalink)
Scottymeuk
The Contributor
 
Join Date: Jan 2009
Posts: 40
Thanks: 10
Scottymeuk is on a distinguished road
Default

Or what you could do is:


PHP Code:
function get_post($string)
{
    return 
htmlentities($_POST[$string]);

and then, to use it you do

PHP Code:
get_post('john'
For example. It needs to be extended a lot but its the basics of it.
Scottymeuk is offline  
Reply With Quote