[PHP] Php MySql selection question

2004-05-01 Thread Dave Carrera
Hi List, I am trying to make a search box for my site and I ask the list how can I search 24 tables to find a search string posted by a form. I get Column: 'listing' in where clause is ambiguous when I run $sql = mysql_query(select * from $tbs where listing like \$_POST[tglstring]\) or

Re: [PHP] Php MySql selection question

2004-05-01 Thread Curt Zirzow
* Thus wrote Dave Carrera ([EMAIL PROTECTED]): Hi List, I am trying to make a search box for my site and I ask the list how can I search 24 tables to find a search string posted by a form. oohh.. ouch ;) I get Column: 'listing' in where clause is ambiguous when I run $sql =