Query Query

Codes here !

Moderators: egami, macek, gesf

Post Reply
User avatar
Joan Garnet
Posts: 387
Joined: Sat Aug 03, 2002 2:56 am
Location: Mars

Fri Dec 20, 2002 7:38 pm

You will need to make a search engine that looks for matches with the simptoms entered by the user and then outputs the values of the two differen tables.

Code: Select all

$sql = " SELECT * FROM  PRODUCTLINK  WHERE my_row LIKE '%".$my_var."%' ";

This will look in the row my_row of the table PRODUCTLINK for matches with the string $my_var.

This is a very simple search, but you can do as you want.

Post Reply
  • Information
  • Who is online

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