View Single Post
Old 09-12-2008, 10:33 PM   #2 (permalink)
sarmenhb
The Addict
 
sarmenhb's Avatar
 
Join Date: Jan 2008
Location: los angeles
Posts: 309
Thanks: 44
sarmenhb is on a distinguished road
Default

nm, i figured it out lol

for those of you who want to know how to do it :)
what i did was

i put a textarea box on the page to insert the html into (for testing)
and i did
Code:
$code = urlencode($_POST['txt_code']);
mysql_query("insert into tablename values(null,'$code'");
what that does is it places a buncha %'s into the html code where its needed

then to output it

i did

while($row = mysql_fetcH_assoc--- bla bla all that stuff then
echo urldecode($row['code']);
__________________
no signature set
sarmenhb is offline  
Reply With Quote
The Following User Says Thank You to sarmenhb For This Useful Post:
BJ Duncan (09-13-2008)