Jearb
06-11-2010, 09:33 PM
I've been working on this little piece of code for much too long now. I've done something like it before, and before I was able to attribute it to some stupid error and was able to fix it. But I forgot what that error was.
Basically, it's a form in a frame that sends the result to the frame next to it. It's being outputted by this massive PHP block, causing the "echo;" makeup. Please help me - I don't want to be stuck on this any longer, else I may go insane.
echo "Play your flute <form action=\"fightPane.php\" method=\"get\" target='fightpane'>
<select name='amount'>
<option value='1'>not very (" . $bard1 . " MP)</option>
<option value='2'>sorta (" . $bard1*2 . " MP)</option>
<option value='3'>pretty (" . $bard1*3 . " MP)</option>
<option value='4'>really (" . $bard1*4 . " MP)</option>
</select>
<input type='hidden' name='action' value='bard' />
<input type='hidden' name='kind' value='flute' />
<input type='submit' value='hard.' class=\"lol1\" onmouseover=\"this.className='lol2'\" onmouseout=\"this.className='lol1'\" />
</form>";
Basically, it's a form in a frame that sends the result to the frame next to it. It's being outputted by this massive PHP block, causing the "echo;" makeup. Please help me - I don't want to be stuck on this any longer, else I may go insane.
echo "Play your flute <form action=\"fightPane.php\" method=\"get\" target='fightpane'>
<select name='amount'>
<option value='1'>not very (" . $bard1 . " MP)</option>
<option value='2'>sorta (" . $bard1*2 . " MP)</option>
<option value='3'>pretty (" . $bard1*3 . " MP)</option>
<option value='4'>really (" . $bard1*4 . " MP)</option>
</select>
<input type='hidden' name='action' value='bard' />
<input type='hidden' name='kind' value='flute' />
<input type='submit' value='hard.' class=\"lol1\" onmouseover=\"this.className='lol2'\" onmouseout=\"this.className='lol1'\" />
</form>";