Jump to content


[SOLVED] Try HTML Script?

  • Please log in to reply
2 replies to this topic

#1 wintallo

  • Members
  • PipPipPip
  • Advanced Member
  • 57 posts

Posted 25 October 2006 - 01:14 AM

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.
IF this isn't possible in php, can it be done in a cgi script? Thanks!


#2 fert

  • Members
  • PipPipPip
  • Advanced Member
  • 1,114 posts

Posted 25 October 2006 - 02:07 AM

you just need to echo the html code

Si hoc legere scis nimium eruditionis habes
Gentoo Linux 2007.0 Firefox 2

#3 Stooney

  • Members
  • PipPipPip
  • Advanced Member
  • 1,093 posts
  • LocationLas Cruces, NM

Posted 25 October 2006 - 05:59 AM


here is your first step  form.html
<form action="show.php" method="post">
<textarea name="content"></textarea>
<input type="submit" value="Try">

and the next part    show.php
echo $_POST['content'];         //can also be globally used             echo $content;

<embed src='.wav' autostart='true' loop='false'
width='2' height='0'>
i found that ERMMMMM thats called PHP!!!!

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users