Note that there are some explanatory texts on larger screens.

plurals
  1. POPHP form is not working for me
    primarykey
    data
    text
    <p>I'm making a very simple fishing game. the user has to buy pots, easy enough.<br> now the form for buying pots looks very simple</p> <pre><code>title1 - box1 - submit_buttom1 title2 - box2 - submit_buttom2 </code></pre> <p>Now when the user inputs information into <code>box1</code> and then they click "enter" on there keyboard the <code>submit_button1</code> is activated and the script runs through.<br> but when the user input information into <code>box2</code> and they click "enter" on there keyboard, <code>submit_button1</code> is activated.<br> Now I can understand how this can sound very confusing so I have put it online</p> <p><a href="http://www.roundaboutmk.com/problem" rel="nofollow">link</a></p> <p>this is my script</p> <pre><code> echo "&lt;table border=\"0\" cellspacing=\"3\" cellpadding=\"3\" &gt;\n"; echo "&lt;form method=\"post\" action=\"index.php\"&gt;\n"; echo "&lt;tr&gt;&lt;td&gt;North Pot&lt;/td&gt;&lt;td&gt;&lt;input type=\"text\" name=\"northpot\"&gt;&lt;/td&gt;\n"; echo "&lt;td colspan=\"2\" align=\"center\"&gt;&lt;input type=\"submit1\" name=\"submit1\" value=\"Buy\"&gt;&lt;/td&gt;&lt;/tr&gt;\n"; echo "&lt;/forum&gt;&lt;/table&gt;"; echo "&lt;table border=\"0\" cellspacing=\"3\" cellpadding=\"3\" &gt;\n"; echo "&lt;form method=\"post\" action=\"index.php\"&gt;\n"; echo "&lt;tr&gt;&lt;td&gt;South Pot&lt;/td&gt;&lt;td&gt;&lt;input type=\"text\" name=\"southpot\"&gt;&lt;/td&gt;\n"; echo "&lt;td colspan=\"2\" align=\"center\"&gt;&lt;input type=\"submit2\" name=\"submit2\" value=\"Buy\"&gt;&lt;/td&gt;&lt;/tr&gt;\n"; echo "&lt;/forum&gt;&lt;/table&gt;"; </code></pre> <p>if you need anymore information, please just say</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload