PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
And I want it to take whatever is stored in(for example) $team1p1 and put that as the value of the hidden field. I've looked high and low, all over the internet for the answer and whatever I do it either leaves the hidden field blank or, atm, echoes "team1p1".
The loops are separate, but similar, so if you can get the first to work then the second will follow suit.
Obviously that isn't all of the code, but the little bit that you did paste is wrong. You're opening new <?php tags without closing the old ones... aka, you're using <?php tags where you don't need to be (inside of the loop).
Mirge wrote:Obviously that isn't all of the code, but the little bit that you did paste is wrong. You're opening new <?php tags without closing the old ones... aka, you're using <?php tags where you don't need to be (inside of the loop).
What? I edit in dreamweaver so I can easily tell when I leave a PHP tag open, if you look all I open and close then the opening and closing PHP tags are fine, as it throws no errors, it's a deeper problem than that
Mirge wrote:Obviously that isn't all of the code, but the little bit that you did paste is wrong. You're opening new <?php tags without closing the old ones... aka, you're using <?php tags where you don't need to be (inside of the loop).
What? I edit in dreamweaver so I can easily tell when I leave a PHP tag open, if you look all I open and close then the opening and closing PHP tags are fine, as it throws no errors, it's a deeper problem than that