NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
PhpED doesn't work with submit button


Joined: 27 Nov 2009
Posts: 98
Reply with quote
The second form responds with $_POST['task2'] equal to "SUBMIT" and not "save" when emulated using PhpED.

I am using the embedded IE browser. Is it IE7? How can it be changed?

Code:
<?php
echo('<pre>'.print_r($_POST,1).'</pre>');
?>
<form method='post' action='' name='form1'>
    <button type="submit">SUBMIT</button>
    <input type="hidden" name="task1" value="save" />
    <input type="text" name="data1" value="test1" />
</form>

<form method='post' action='' name='form2'>
    <button type="submit" name="task2" value="save">SUBMIT</button>
    <input type="text" name="data2" value="test2" />
</form>
View user's profileFind all posts by NotionCommotionSend private message
PhpED doesn't work with submit button
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic