Search:

Type: Posts; User: Aureanus

Search: Search took 0.02 seconds.

  1. Re: PHP Warning: strlen() expects parameter 1 to be string

    Fair point, then you just add a test for an array before it

    A quick example is below




    $valueStr=0

    if (isarray($value)) {
  2. Re: PHP Warning: strlen() expects parameter 1 to be string

    The issue is that you are on PHP 5.3 and that changed the way that strlen handles arrays.

    Before 5.3 strlen would return the word array for any array - hence feeding a string into the function -...
Results 1 to 2 of 2
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR