RE: [PHP-DB] Control Structure Error

2001-07-08 Thread Ben Bleything
ED]] Sent: Sunday, July 08, 2001 5:52 PM To: [EMAIL PROTECTED] Subject: [PHP-DB] Control Structure Error Here is the code that I am trying to use: //code start function search_terms($title) { $array = explode (" ", $title); for($i=0,$n=count($array); $i<$n; $i++) { $returned_st

[PHP-DB] Control Structure Error

2001-07-08 Thread Brad Lipovsky
Here is the code that I am trying to use: //code start function search_terms($title) { $array = explode (" ", $title); for($i=0,$n=count($array); $i<$n; $i++) { $returned_string = $returned_string . $array[$i] . " OR "; } return $returned_string } //code end I want it to turn the stri