| | |
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
Hi there ,I am working on my web site and
I need some help with my search result query's
If you look here
http://www.sensitivetechnology.com/search.php
and in the top search field enter 74AC86SC the resilt will show Product ID and Description ,but it won't show quantity and price
And also I need a query that once you have enterd first 2 leters or numbers of the part it will list all parts containing the first 2 numbers/letters
I am stuck in the midlle and I also want to make hyperlink the results to my request page
http://www.sensitivetechnology.com/rfq.php
so once u click on the result it would add the same one to the
"Your rfq" field in the rfq.php page
I atached the needed files and my querys are in the search.class file
Thank you
I need some help with my search result query's
If you look here
http://www.sensitivetechnology.com/search.php
and in the top search field enter 74AC86SC the resilt will show Product ID and Description ,but it won't show quantity and price
And also I need a query that once you have enterd first 2 leters or numbers of the part it will list all parts containing the first 2 numbers/letters
I am stuck in the midlle and I also want to make hyperlink the results to my request page
http://www.sensitivetechnology.com/rfq.php
so once u click on the result it would add the same one to the
"Your rfq" field in the rfq.php page
I atached the needed files and my querys are in the search.class file
Thank you
Step 1 - Return all the fields for the product:
Change this query: to
Step 2 - Return partial match queries:
Update the query: This query returns all products that match or begin with the search text.
Step 3 - Add RFQs to the rfq.php page:
Are you wanting to be able to add multiple RFQs or just fill in one single RFQ? In other words, do you intend for the person to be able to click on multiple links and have all of the selected products show up in the text area or just to give them the ability to click a link and have that single product show up in the text area?
Change this query:
MySQL Syntax (Toggle Plain Text)
"SELECT product_id, product_description FROM product WHERE product_id = '" . $product . "'"
MySQL Syntax (Toggle Plain Text)
"SELECT * FROM product WHERE product_id = '" . $product . "'"
Step 2 - Return partial match queries:
Update the query:
MySQL Syntax (Toggle Plain Text)
"SELECT * FROM product WHERE product_id LIKE '" . $product . "%'"
Step 3 - Add RFQs to the rfq.php page:
Are you wanting to be able to add multiple RFQs or just fill in one single RFQ? In other words, do you intend for the person to be able to click on multiple links and have all of the selected products show up in the text area or just to give them the ability to click a link and have that single product show up in the text area?
Did we help you? Did we miss the point entirely? Update your thread and let us know.
Don't like the answers you are getting?
Did you try searching?
Clean up and optimize Windows 2000/XP
Don't like the answers you are getting?
Did you try searching?
Clean up and optimize Windows 2000/XP
Can you be more specific?
What is case sensitive?
Where are you putting a space? Show me the code and the output.
What is case sensitive?
Where are you putting a space? Show me the code and the output.
Did we help you? Did we miss the point entirely? Update your thread and let us know.
Don't like the answers you are getting?
Did you try searching?
Clean up and optimize Windows 2000/XP
Don't like the answers you are getting?
Did you try searching?
Clean up and optimize Windows 2000/XP
•
•
Join Date: Dec 2005
Posts: 7
Reputation:
Solved Threads: 0
•
•
•
•
Originally Posted by chrisbliss18
Can you be more specific?
What is case sensitive?
Where are you putting a space? Show me the code and the output.
XC2V6000-4BF957C it is not going to find it since the part is in caps
if I enter : xc2v6000-4bf957c it is going to find it
if I enter space after part# it is not going to find it
if I take the dash away from part# it is not going to find it
•
•
Join Date: Dec 2005
Posts: 7
Reputation:
Solved Threads: 0
And regarding the hyperlink you can see what I need here
http://vital-ic.com/index.php?page=part&
just enter xc2v in part search field
http://vital-ic.com/index.php?page=part&
just enter xc2v in part search field
![]() |
Similar Threads
- pagination of mysql query results (PHP)
- How to hyperlink mysql search results? (MySQL)
- Desktop backgroud has been taken over, google search results being hijacked and more! (Viruses, Spyware and other Nasties)
- Search Results for poker online (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: Ideal System
- Next Thread: How to hyperlink mysql search results?
| Thread Tools | Search this Thread |
agplv3 alfresco 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 government gpl greenit groklaw groupware hiring hyperic images innerjoins insert ip joebrockmeier join journalism keyword keywords kickfire laptop law legal license licensing linux maintenance managing mariadb matchingcolumns metron micromanage microsoft mindtouch montywidenius mozilla multiple music mysql mysqlcolumnupdating mysqldatetimeordermax() mysqlindex mysqlinternalqueries mysqlquery 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





