I have the code:

<form method="post" action="abc.php">
<input type="submit" name="sb1" value="sb1"> //<----LINE1
<input type="image" src="sample.jpg" name="sb2" value="sb2"> //<---LINE2
</form>

Now the question is:
I can use submit button to submit "sb1", but if I try to submit image "sample.jpg", I cannot retrieve data "sb2". Anyone knows why? thanks.

Recommended Answers

All 2 Replies

you probably want to try the php forum

It's definately a problem with the server-side app.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.