My actual question is this line of code:
$other = mysql_real_escape_string($other);
is giving me this error message:
Warning: mysql_real_escape_string(): Access denied for user
'nobody'@'localhost' (using password: NO) in /path/to/file/file.php on
line 148
Warning: mysql_real_escape_string()
Last week the server my web site hosting company uses went down (along
with a bunch of other servers) My files have been moved to another
server the company uses. I am in the midst of configuring my site for
the new server.
Before the server went down I wasn't getting error messages. I know my
u use localhost right? try ip instead.
127.0.0.1
- Original Message -
From: "Ron Piggott" <[EMAIL PROTECTED]>
To: "PHP DB"
Sent: Saturday, April 28, 2007 6:44 AM
Subject: [PHP-DB] mysql_real_escape_string
>
> The following PHP co
The following PHP command
$new_maintainers_notes =
mysql_real_escape_string($new_maintainers_notes);
returned this error while running in a ***cron***.
Warning: mysql_real_escape_string(): Access denied for user:
'[EMAIL PROTECTED]' (Using password: NO)
in
/home2/actsmin/actsministries-www/m
Ron Piggott wrote:
I am creating a form where I am using
$web_site_#
for the various fields. At the present time there are 11 fields I am
asking the user to key in. I am wondering if there is a slick way to
use the mysql_real_escape_string command with this so
$web_site_1 = mysql_real_esca
I am creating a form where I am using
$web_site_#
for the various fields. At the present time there are 11 fields I am
asking the user to key in. I am wondering if there is a slick way to
use the mysql_real_escape_string command with this so
$web_site_1 = mysql_real_escape_string($web_site_1)
Hi Ron
Use nl2br()...its adds in tags. The other option is to use str_rplace
and replace the characters with ones of your choice
bastien
From: "Ron Piggott" <[EMAIL PROTECTED]>
To: "PHP DB"
Subject: [PHP-DB] mysql_real_escape_string for HTML ???
Date: Sat, 5 Mar 200
I know of the
$variable = mysql_real_escape_string($variable);
It works just nicely to allow some of the wild cards to be saved to a mySQL
table.
Is there something like this for HTML that when you retrieve from a variable
in the table an ENTER would be converted to
I am mainly talking about w