•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the MySQL section within the Web Development category of DaniWeb, a massive community of 403,490 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 4,272 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our MySQL advertiser: Programming Forums
Views: 3255 | Replies: 7
![]() |
•
•
Join Date: Dec 2005
Posts: 7
Reputation:
Rep Power: 0
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:
"SELECT product_id, product_description FROM product WHERE product_id = '" . $product . "'"
"SELECT * FROM product WHERE product_id = '" . $product . "'"
Step 2 - Return partial match queries:
Update the query:
"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:
Rep Power: 0
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.
OK ,when I put the part # in search field example
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:
Rep Power: 0
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
![]() |
•
•
•
•
•
•
•
•
DaniWeb MySQL Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
adsense adult advertising biometrics blogging bomb book business coding community copyright development earth engine environment failure forum google internet legal malware marketing mcafee microsoft monetization msn news operating pagerank phishing photo privacy publishing revenue search security seo silverlight software space spyware support system technical universe video web webmaster wiki yahoo
- 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 / 2003)
- 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?


Linear Mode