How to upload the value of a list to the next PHP interface

Source: Internet
Author: User
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.
  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.