Search Phrase Drops to 3 Words When Clicking Second Page (Bugs)
Hi,
Ahh, yes. It's only to muddle all the people.
Check
Let's start again. If we cut every input to a length of X words (stored in$limit
), we can simply use the functionarray_splice
.// limit to X ($limit) words: $limit = 9; // Fictional variable with the new limit for the amount of words. array_splice($search_array, $limit); foreach ($search_array as $search_item) { $stripped_search_array[] = $search_item; } $search_array = $stripped_search_array;
This is the next try to muddle all the people? Please remove the loop and all will be fine.
/Micha
--
applied-geodesy.org - OpenSource Least-Squares Adjustment Software for Geodetic Sciences