foreach($search_exploded as $search_each)
{
@$x++;
if($x==1)
@$construct .="keywords LIKE '%$search_each%'";
else
$construct .="AND keywords LIKE '%$search_each%'";
}
i just wont to understand this foreach ($search_exploded as $search_each)
what is the meaning
andyy121 -9 Junior Poster
Recommended Answers
Jump to Postlooks like there should be more code for this. All I can tell you about this so far is that is is;
- Looping through an array called$search_exploded
placing each value into the variable$search_each
- It then adds 1 to$x
(assuming that is was …
All 3 Replies
Reply to this topic Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.