...

View Full Version : parsing strings



mbolintis
01-24-2004, 10:34 PM
Hi,

I made a form which store the data into a mysql table. When I paste some character (like ' , ", and other) my script crached.

What I can do (what function i use) to parsing my data and send this character dont crach my script ???

Thks

raf
01-24-2004, 10:47 PM
use addslashes()
http://www.php.net/manual/en/function.addslashes.php
on all the stringvales you write to a database.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum