09-12-2008, 10:33 PM
|
#2 (permalink)
|
|
The Addict
Join Date: Jan 2008
Location: los angeles
Posts: 309
Thanks: 44
|
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
|
|
|
|