01-10-2009, 01:28 PM
|
#12 (permalink)
|
|
The Contributor
Join Date: Jan 2009
Posts: 40
Thanks: 10
|
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.
|
|
|
|