How can I display the results on another page after querying mysql through matching?

Source: Internet
Author: User
How can I display the matching query results on another page? This post was last edited by maniachhz from 2012-11-2516: 16: 01. I created a new table to save licenses, create & nbsp; table & nbsp; fwbd_mac (& nbsp; mac_eth & nbsp; char (12) how can I display the matching query results on another page?

This post was last edited by maniachhz at 16:16:01, January 25 ,.

Hello everyone,
The problem is.
I created a new table to save the licenses,
Create table fwbd_mac
(Mac_eth char (12) not null, // Save the mac number
Mac_license varchar (750) not null, // Save the license file
Mac_date date not null,
Primary key (mac_eth ),
Unique license_index (mac_license)
) ENGINE = MyISAM default charset = latin1;


After I use a match to query the database, I get multiple results and output them in a table. I want to display the license field file content on the show_info.php page. how can I pass the obtained $ row ['Mac _ eth '] to show_info.php to query licnese? I write it like this and it is invalid.
Echo"Display"; PHP interpreter parse error.

While ($ row = mysql_fetch_array ($ result ))
{
Echo"";
Echo"". Add_delimiter (strtoupper ($ row ['Mac _ eth '])."";
Echo"Display";
Echo"". $ Row ['Mac _ date']."";
Echo"";
}

------ Solution --------------------
Echo"Display";
------ Solution --------------------
Echo"Display"
Or
Echo"Display"

Write according to rules
------ Solution --------------------
$ _ GET ['Mac _ eth ']

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.