wintallo Posted October 25, 2006 Share Posted October 25, 2006 I was wondering if anyone knows how to program a Try HTML script in PHP. If you're not sure what I mean, check out these to pages to see what I'm talking about.http://photobucket.com/practice.phphttp://www.w3schools.com/html/tryit.asp?filename=tryhtml_basicIF this isn't possible in php, can it be done in a cgi script? Thanks!wintallo.com Link to comment https://forums.phpfreaks.com/topic/25007-solved-try-html-script/ Share on other sites More sharing options...
fert Posted October 25, 2006 Share Posted October 25, 2006 you just need to echo the html code Link to comment https://forums.phpfreaks.com/topic/25007-solved-try-html-script/#findComment-113982 Share on other sites More sharing options...
Stooney Posted October 25, 2006 Share Posted October 25, 2006 easyhere is your first step form.html[code]<form action="show.php" method="post"><textarea name="content"></textarea><input type="submit" value="Try"></form>[/code]and the next part show.php[code]<?phpecho $_POST['content']; //can also be globally used echo $content;?>[/code] Link to comment https://forums.phpfreaks.com/topic/25007-solved-try-html-script/#findComment-114027 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.