You are here: using mysql_real_escape_string « PHP Programming Language « IT news, forums, messages
using mysql_real_escape_string

Posted by bill on 12/24/06 16:53

being prudent, and listeng to ng members I am now using
mysql_real_escape_string on my user uploaded data.

I give the user a form to fill in, including some text areas.
I then save them in a mysql database. When the user returns
to the form, I fill in the data from mysql.

The problem is that each time the user returns to the form
additional \r\n are appended to the entry.

I tried using stripslashes() on the data before I put it into the
textarea, with no improvement.

suggestions please.

bill

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация