Search found 3 matches

by Baz
Sun Dec 11, 2011 5:11 pm
Forum: Tutorials
Topic: Broken Explode?
Replies: 4
Views: 660

Re: Broken Explode?

Thank you for that it seems to of done the trick! 8-)

Hmmmmz odd indeed :roll:
by Baz
Sun Dec 11, 2011 2:25 pm
Forum: Tutorials
Topic: Broken Explode?
Replies: 4
Views: 660

Re: Broken Explode?

well in the example video it splits the input placing them in an array starting at 0 and lists what it has placed where. My example only ever has 0 in its array and does not list what it is that it has found. Seems the $term variable is found but some how it is getting lost in the explode part. Any ...
by Baz
Sun Dec 11, 2011 2:01 pm
Forum: Tutorials
Topic: Broken Explode?
Replies: 4
Views: 660

Broken Explode?

I have the following code from the database search tutorial and I seem to be getting empty arrays from it - Yet I can't see why!? Any help would be great! <?php function search_posts($term){ echo "keywords entered was $term<br/>"; $keywords=explode(' ', mysql_real_escape_string($term)); pr...