| | |
How to hyperlink mysql search results?
Please support our MySQL advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: Dec 2005
Posts: 7
Reputation:
Solved Threads: 0
This is what I need
http://www.vital-ic.com/index.php?pa...da4faa5265b7f6
in the field enter xc2v
and click on the arrow image for search
once result comes back you will see part# links
If you click any of the links it will enter the part# in to a form field
How can I make mysq results in to a hyperlink and transfer them to the rfq form?
I atached files need
Thank you
http://www.vital-ic.com/index.php?pa...da4faa5265b7f6
in the field enter xc2v
and click on the arrow image for search
once result comes back you will see part# links
If you click any of the links it will enter the part# in to a form field
How can I make mysq results in to a hyperlink and transfer them to the rfq form?
I atached files need
Thank you
•
•
Join Date: Mar 2004
Posts: 763
Reputation:
Solved Threads: 38
This is more of a PHP question, or whichever language the website is being written in. I'll use PHP.
Assuming you already know how to do your database search and get results displayed, it's really quite simple. When you go to display the part name on building the page after the query, add the href tag to it. Each link goes to the same webpage afterwards, so:
$part = get next value from result set
echo "<a href=/"form.html?part=".$part."/">".$part."</a>";
Then from your form.html page, get the value of the part variable that we posted in the link and set that as the default value to the form's text.
Assuming you already know how to do your database search and get results displayed, it's really quite simple. When you go to display the part name on building the page after the query, add the href tag to it. Each link goes to the same webpage afterwards, so:
$part = get next value from result set
echo "<a href=/"form.html?part=".$part."/">".$part."</a>";
Then from your form.html page, get the value of the part variable that we posted in the link and set that as the default value to the form's text.
![]() |
Similar Threads
- Display Search Results as Hyperlinks to Records (ASP)
- pagination of mysql query results (PHP)
- Mysql Search results (MySQL)
- Desktop backgroud has been taken over, google search results being hijacked and more! (Viruses, Spyware and other Nasties)
- search and results problem (PHP)
- Folders open Search Results (Windows NT / 2000 / XP)
- See your Website in Google search results in 24h (Post your Resume)
Other Threads in the MySQL Forum
- Previous Thread: Mysql Search results
- Next Thread: image database
| Thread Tools | Search this Thread |
agplv3 amazon api artisticlicense aws bizspark breathalyzer camparingtocolumns changingprices cmg communityjournalism contentmanagement contractors copyright count court crm database design developer development distinct drupal dui ec2 email enterprise eudora facebook form foss gartner gnu government gpl greenit groklaw groupware hiring hyperic images innerjoins insert ip joebrockmeier join journalism keyword keywords kickfire laptop law legal license licensing linux managing mariadb matchingcolumns metron micromanage microsoft microsoftexchange mindtouch montywidenius mozilla multiple music mysql mysqlcolumnupdating mysqlindex mysqlinternalqueries mysqlquery mysqlsearch news open-xchange opendatabasealliance opengovernment opensource oracle penelope php priceupdating query referencedesign reorderingcolumns resultset saas select sharepoint simpledb sourcecode spotify sql sugarcrm syntax techsupport thunderbird transparency virtualization





