tallberg Posted November 17, 2006 Share Posted November 17, 2006 Dear who ever can help.Ive created a php script that allow the users to retrieve records from a DB based on a $condition that is specifed by the user in $_POST variables obtained from check boxes, menus, and text feilds. After the user press submit the records are displayed in a table. This is fine. One of the cells in the table has a submit button. It is intented that this button will place the record ID in a shopping basket/list. However, if this button is pressed the $condition is lost and the table of records disappears.Can any one suggest a way to retain the data in the table after a record is added to the shopping basket. Link to comment https://forums.phpfreaks.com/topic/27568-submit-button-problems/ Share on other sites More sharing options...
komquat Posted November 17, 2006 Share Posted November 17, 2006 you could use <input type='hidden' value='$condition'>To better serve you, how about a bit of the code, many people on here can help and the code will only aid them! Link to comment https://forums.phpfreaks.com/topic/27568-submit-button-problems/#findComment-126117 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.