I have a text form that posts to a custom .php file, this then uploads the posted data to a mysql database.
The problem is, when looking at the data in my mysql db instead of having "<html>" I have "<html>".
I understand that "<" is the same at "<", so i have a find and replace in my output .php file. But I still need find and replace statements for " etc. Is there a way round this problem, I think its the was the mysql db formats the data, I have the field set at 'Text'. Or is there a special way of outputting the data so it is parsed by the browser?
Thanks,
James
The problem is, when looking at the data in my mysql db instead of having "<html>" I have "<html>".
I understand that "<" is the same at "<", so i have a find and replace in my output .php file. But I still need find and replace statements for " etc. Is there a way round this problem, I think its the was the mysql db formats the data, I have the field set at 'Text'. Or is there a special way of outputting the data so it is parsed by the browser?
Thanks,
James

Re: writing to mysql, then outputting problem
Re: writing to mysql, then outputting problem
viewtopic.php?f=11&t=16315&p=46046#p46046