Re: mysql_real_escape_string wants a string or a "resource"?

From: Date: Sat, 11 Jul 2009 21:51:54 +0000
Subject: Re: mysql_real_escape_string wants a string or a "resource"?
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-295243@lists.php.net to get a copy of this message
You're looking at the documentation for mysqli_real_escape_string but using mysql_real_escape_string - notice the i in mysqli in the first function name.
right. Thanks.
p.s. what is a "resource" compared to a string?
A resource is a variable type. See http://php.net/language.types.resource
as in a db connection

« previous php.general (#295243) next »