in reply to Re^3: Search 2 columns
in thread Search 2 columns
Thanks blokhead and graff! You both brought up some very good points, it is greatly appreciated. I am going to put in placeholders where I can.
graff, that table code outputs 2 columns in the format
One thing though, graff. Can you explain this section to me?<b>Name</b> <b>Name</b> Address Address City City Category Category
I am not real sure that I am following the logic.
Thanks for everything guys! It is much appreciated and the points are well taken.
Jim
my $column = ( $type eq 'alpha' ) ? 'name' : "CONCAT_WS(' ',keywords,c +ategory)"; my $query = "SELECT name, address, city, phone FROM valley ". "WHERE $column LIKE ? ORDER BY name LIMIT ?,?";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Search 2 columns
by andreas1234567 (Vicar) on Sep 23, 2007 at 06:48 UTC | |
|
Re^5: Search 2 columns
by graff (Chancellor) on Sep 23, 2007 at 19:38 UTC |