Jump to content


Photo

[SOLVED] Try HTML Script?


  • Please log in to reply
2 replies to this topic

#1 wintallo

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.
http://photobucket.com/practice.php
http://www.w3schools...e=tryhtml_basic
IF this isn't possible in php, can it be done in a cgi script? Thanks!

wintallo.com

#2 fert

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

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

Posted 25 October 2006 - 05:59 AM

easy


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

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

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





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users