Jump to content

Please help,


PeterPine

Recommended Posts

Hello everyone im new to forums =)

 

I have spent so much time trying to find a solution for my problem,

but i cannot find it anywhere..

 

Im looking for a simple code that will enable me to search string from MySql database

 

All i want is a search box with submit button and whenever user enters in a part number

it will return with Part number as well as QTY that is in stock. Is there a easy way

of doing this, im novice in PHP and MySQL, any help would be greatly appreciated.

 

-Peter

Link to comment
https://forums.phpfreaks.com/topic/111047-please-help/
Share on other sites

now that's odd? that should be very plenty... am wondering how you searched? :)

 

yep, as DarkWater said, you need WHERE in your query (MySQL)...

you need a input text field (HTML)...

and you need PHP to fetch the data from the form input, send it to MySQL in a form of a query, parse the result (PHP) and display it...

use a table/div for output (HTML)

 

that's the logic on how to do it i suppose. :)

Link to comment
https://forums.phpfreaks.com/topic/111047-please-help/#findComment-569850
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.