i have a header that is included in all my files. and a footer. blah blah blah.
currently it's a submit type button and i have a whole load of them
here is the current form code (header.php):
<form action=""process.php method=POST>
<input type="submit" name="go" value="HOME">
<input type="submit" name="go" value="WHERE">
<input type="submit" name="go" value="THERE">
<input type="submit" name="go" value="HERE">
</form>
here is the PHP code for the processing (process.php)
$var = $_POST['go'];
if ($var == 'HOME')
header("Location: something.php");
if ($var == 'WHERE')
header("Location: something.php");
if ($var == 'THERE')
header("Location: something.php");
if ($var == 'HERE)
header("Location: something.php");
obviously this shows a few buttons:
[HOME] [WHERE] [THERE] [HERE]
what i want it to show is this:
[img] [img] [img] [img]
but i've tried one picture form and it didn't seem to work. i can't set the value i guess.
<input type="image" src="rainbow.gif" name="image" width="60" height="60">
is there a way to do this so that i can can multiple images as buttons?
thanx in advance