ksmatthews Posted August 2, 2009 Share Posted August 2, 2009 Hi There, I am trying to create a page with 2 or more forms using only ONE table. Consider this code ... <form action="blah.php" method="POST"> <table> <tr> <td>Name:</td> <td><input type="text" name="name"></td> </tr> <tr> <td colspan="2" align="center"> <input type="submit" name="Submit_btn" id="Submit_btn" value="Send"> </td> </tr> </table> </form> How to create another form from within the same table ? regards, Steven M Link to comment https://forums.phpfreaks.com/topic/168489-two-forms-one-table/ Share on other sites More sharing options...
Bricktop Posted August 2, 2009 Share Posted August 2, 2009 Hi ksmatthews, Put the forms inside the main table, i.e. <table> <tr> <td> <form> <table> <tr> <td> </td> </tr> </table> </form> <form> <table> <tr> <td> </td> </tr> </table> </form> </td> </tr> </table> Link to comment https://forums.phpfreaks.com/topic/168489-two-forms-one-table/#findComment-888811 Share on other sites More sharing options...
ksmatthews Posted August 2, 2009 Author Share Posted August 2, 2009 THanks bricktop, problem now resolved ... Steven M Link to comment https://forums.phpfreaks.com/topic/168489-two-forms-one-table/#findComment-888827 Share on other sites More sharing options...
vineld Posted August 2, 2009 Share Posted August 2, 2009 Unless this is an extraordinary situation I really think you should refrain from using tables for layout purposes though. Link to comment https://forums.phpfreaks.com/topic/168489-two-forms-one-table/#findComment-888834 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.