How to upload the value of a list of options to the next PHP interface
if ($roomID!=null)
{
$result =mysql_query ("Select Roomid,roomtype,roomsize from the" where Roomid not in (select Roomid from bookingroom where b Ookingdate= ' $bookingdate ' and bookingtime= ' $bookingtime ') and roomid= ' $roomID ' ");
$num _rows = mysql_num_rows ($result);
if ($num _rows==0) {
echo "
Sorry, No result found. Please search again.
";
}
else{
while ($row = Mysql_fetch_array ($result))
{
echo "";
echo "". $row [' Roomid ']."";
echo "". $row [' Roomtype ']."";
echo "". $row [' roomsize ']."";
echo " ";
echo "";
}
}
}
How do I upload the data from my web interface to insert_data.php? PHP MySQL Search
------Solution--------------------
echo "";
Add the ID parameter after the file name, the parameter value is the ID of the corresponding row data
------Solution--------------------
Get method Try
------Solution--------------------
By using JS to get each line of properties, you can locate the table TR TD, navigate to each row, and then pass the value through the URL.
------Solution--------------------
JS onsubmit the time to deposit cookies
On the other side, PHP gets the line.