[PHP-DB] mysql_real_escape_string()

2007-11-12 Thread Ron Piggott
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

Re: [PHP-DB] mysql_real_escape_string()

2007-11-12 Thread Chris
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:

[PHP-DB] mysql_real_escape_string

2007-04-27 Thread Ron Piggott
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

Re: [PHP-DB] mysql_real_escape_string

2007-04-27 Thread bedul
u use localhost right? try ip instead. 127.0.0.1 - Original Message - From: Ron Piggott [EMAIL PROTECTED] To: PHP DB php-db@lists.php.net Sent: Saturday, April 28, 2007 6:44 AM Subject: [PHP-DB] mysql_real_escape_string The following PHP command $new_maintainers_notes

Re: [PHP-DB] mysql_real_escape_string

2007-02-17 Thread OKi98
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 =

[PHP-DB] mysql_real_escape_string

2007-02-16 Thread Ron Piggott
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 =

RE: [PHP-DB] mysql_real_escape_string for HTML p???

2005-03-06 Thread Bastien Koert
Hi Ron Use nl2br()...its adds in br / 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 php-db@lists.php.net Subject: [PHP-DB] mysql_real_escape_string for HTML p??? Date: Sat, 5 Mar 2005 23:21

[PHP-DB] mysql_real_escape_string for HTML p???

2005-03-05 Thread Ron Piggott
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 P I am mainly talking about