Array_Walk error messages

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Can anyone give me a clue what I have done wrong here.

//These would be passed as ints:
array_walk($l_industry, 'mysql_escape_string');
Warning: Wrong parameter count for
mysql_escape_string() in
/xxx/xxxx/public_html/Test2.php on line 104

//These would be passed as ints:
array_walk($l_tterm, 'mysql_escape_string');
Warning: Wrong parameter count for
mysql_escape_string() in
/xxx/xxxx/public_html/Test2.php on line 105

//These are strings
array_walk($skills, 'mysql_escape_string');
Warning: Wrong parameter count for
mysql_escape_string() in
/xxx/xxxxx/public_html/Test2.php on line 106

//These are ints:
array_walk($skys, 'mysql_real_escape_string');
Warning: mysql_real_escape_string() expects parameter
2 to be resource, integer given in
/xxx/xxxxx/public_html/Test2.php on line 107

//These are ints:
array_walk($slus, 'mysql_escape_string');
Warning: Wrong parameter count for
mysql_escape_string() in
/xxx/xxxx/public_html/Test2.php on line 108


Thanks
Stuart

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux