This code:
$maybeDeleteClient=($_GET[maybeDeleteClient]);
$maybeDeleteClient=mysql_real_escape_string($db_billing,
$maybeDeleteClient); // this is line 53
gives this error:
Warning: mysql_real_escape_string() expects parameter 2 to be
resource, string given in
2009/7/11 Govinda govinda.webdnat...@gmail.com:
This code:
$maybeDeleteClient=($_GET[maybeDeleteClient]);
$maybeDeleteClient=mysql_real_escape_string($db_billing,
$maybeDeleteClient); // this is line 53
gives this error:
Warning: mysql_real_escape_string() expects parameter 2 to be
2009/7/11 Govinda govinda.webdnat...@gmail.com:
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
On Sat, Jul 11, 2009 at 17:51, Govindagovinda.webdnat...@gmail.com wrote:
as in a db connection
That's essentially a resource in reference to an object.
--
/Daniel P. Brown
daniel.br...@parasane.net || danbr...@php.net
http://www.parasane.net/ || http://www.pilotpig.net/
Check out our
For the longest time, we were having a problem in the docs where
some mirrors were erroneously redirecting references to
mysqli_real_escape_string() to mysql_real_escape_string(). Should all
be fixed now (and certainly is on the US2 mirror).
In my case, I had somehow got the idea that the
5 matches
Mail list logo