Re: [PHP-DB] explode () and mySQL query

2008-06-04 Thread Thodoris
O/H Ron Piggott ??: I am trying to add a search feature to my shopping cart. I am wanting to use PHP to develop the query for mySQL. I have the following code figured out: foreach(explode( , $keyword) as $key) $query .= $key, ; This produces: WHERE

Re: [PHP-DB] explode () and mySQL query

2008-06-04 Thread Chris
Thodoris wrote: O/H Ron Piggott ??: I am trying to add a search feature to my shopping cart. I am wanting to use PHP to develop the query for mySQL. I have the following code figured out: foreach(explode( , $keyword) as $key) $query .= $key, ; This produces: WHERE

Re: [PHP-DB] explode () and mySQL query

2008-05-28 Thread Chris
Ron Piggott wrote: I am trying to add a search feature to my shopping cart. I am wanting to use PHP to develop the query for mySQL. I have the following code figured out: foreach(explode( , $keyword) as $key) $query .= $key, ; I hope this isn't a copy/paste from your code as it's going