How can I handle the error message generated by a dreamweaver function, i need to handle the message if I am told a value that does not exist.
I made this simple test and the error message was displayed to me:
http://topdeia.com/city.ajax.php?ajax=true&search=&uf[]=27
The message is this:
PHP Warning: mysql_real_escape_string() expects parameter 1 to be string, array given in
The function:
$theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue);