How to search in my DATABASE Plz!!!!!!!!!

General discussions related to php

Moderators: macek, egami, gesf

NabilChicago
New php-forum User
New php-forum User
Posts: 5
Joined: Sat Apr 05, 2003 7:51 pm
Location: Chicago
Contact:

How to search in my DATABASE Plz!!!!!!!!!

Postby NabilChicago » Sat Apr 12, 2003 5:54 pm

I want to make something like what`s in this site

http://paulbuchheit.com/495/asg6/store.php?status=active
I have a table in my database that contains "productID, productPrice, productImage, productDescription". What I wanna do is be able to search on my product`s table and print the results like how it is in the site I mentinoed above.

Thank you Thank You
[/url]

User avatar
Oleg Butuzov
Last Samuray
Last Samuray
Posts: 831
Joined: Sun Jun 02, 2002 3:09 am

Postby Oleg Butuzov » Sat Apr 12, 2003 9:41 pm

Code: Select all

SELECT * FROM `tablename` Whare `columname` LIKE '%$some_patern%'


BTW.
I have delete your previus mesage. Please keep the rules or you will be punished.

NabilChicago
New php-forum User
New php-forum User
Posts: 5
Joined: Sat Apr 05, 2003 7:51 pm
Location: Chicago
Contact:

Sorry!!!

Postby NabilChicago » Sun Apr 13, 2003 5:53 am

Plz Can I know what`s wrong with my message so I don`t do the same thing again??
Thank you and sorry again

User avatar
Oleg Butuzov
Last Samuray
Last Samuray
Posts: 831
Joined: Sun Jun 02, 2002 3:09 am

Postby Oleg Butuzov » Sun Apr 13, 2003 8:22 pm

You post twice in this part of forum and in one more. Do nt do this again.


Return to “PHP General”

Who is online

Users browsing this forum: Yahoo [Bot] and 1 guest