• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
trying to create an array for XML-RPC = FAIL

#7
[eluser]socs[/eluser]
Another thing to watch out for is blank values will also trigger the
"htmlspecialchars() expects parameter 1 to be string" error.

For example if
Code:
$state->name

above is "" then you will get this error. I had to put a bunch of checks in my code for this case.


Messages In This Thread
trying to create an array for XML-RPC = FAIL - by El Forum - 12-02-2008, 05:25 PM
trying to create an array for XML-RPC = FAIL - by El Forum - 12-02-2008, 11:36 PM
trying to create an array for XML-RPC = FAIL - by El Forum - 12-03-2008, 07:56 AM
trying to create an array for XML-RPC = FAIL - by El Forum - 12-03-2008, 09:50 AM
trying to create an array for XML-RPC = FAIL - by El Forum - 12-03-2008, 10:17 AM
trying to create an array for XML-RPC = FAIL - by El Forum - 02-13-2009, 06:37 AM
trying to create an array for XML-RPC = FAIL - by El Forum - 02-24-2009, 02:35 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.