Thread
:
query wont insert?
View Single Post
#
4
(
permalink
)
05-01-2008, 09:15 PM
Jordan
Join Date: Nov 2005
Location: Hendersonville, NC
Posts: 10,865
Last Blog:
PHP Security: Temporar...
Credits:
1
Rep Power:
20
Re: query wont insert?
Use the htmlentities() function on the string:
IE:
PHP Code:
$profile
=
htmlentities
(
$profile
);
Before you insert it into the DB. You can read more about the function here:
PHP: htmlentities - Manual
__________________
CodeCall Blog
|
CodeCall Wiki
|
Shareware Site
|
Linux Forum
|
Write a Blog
The
CodeCall Wiki
is now fully integrated with vBulletin users! Check it out and add some new pages!
Jordan
View Public Profile
Send a private message to Jordan
Find all posts by Jordan