Avatar

Search Phrase Drops to 3 Words When Clicking Second Page (Bugs)

by Auge ⌂ @, Thursday, September 12, 2019, 08:48 (71 days ago) @ Micha

Hello

Let's start again. If we cut every input to a length of X words (stored in $limit), we can simply use the function array_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. ;-)

Yes, it is. :-/

Sleeping only five hours after a concert is not enough.

[image]

Sleaford Mods yesterday in Berlin.

    // limit to X ($limit) words:
    $limit = 9; // Fictional variable with the new limit for the amount of words.
    array_splice($search_array, $limit);
 

And now?

Tschö, Auge

--
Trenne niemals Müll, denn er hat nur eine Silbe!


Complete thread:

 RSS Feed of thread

powered by my little forum