hi there, i’m processing a form which simply passes a few hidden variables through a page.
[code=php]<form action=’2delete.php’>
<input type=hidden name=jobtitle value=$_GET[‘foo’]>
<input type=submit value=’Go’>
</form>
The browser doesn’t like the apostrophes in the [i]$_GET[‘foo’][i]$_GET[foo]
[code]Parse error: parse error, expecting `T_STRING’ or `T_VARIABLE’ or `T_NUM_STRING’ in /dir/blah/bar/page.php on line 149
[/code] (above is the error it returns)
what can i put so that it doesn’t hate spaces, and so it doesn’t return an error?
thanks!