Results 1 to 2 of 2

Thread: Try It Yourself Editor

  1. #1

    Thread Starter
    Addicted Member lecfox's Avatar
    Join Date
    Dec 2011
    Location
    Jamaica
    Posts
    174

    Try It Yourself Editor

    Hello, can someone please fix this try it yourself editor. I have been following a tutorial and i have everything, even deleted what i wrote and copy-paste the code directly from the tutorial and it still doesn't work.

    HTML Code:
    <!--index.html-->
    <html>
    <form method="post" action="tryit-result.php" target="result">
    <button>Try it</button>
    <table>
        <tr>
            <td><textarea name="html"></textarea></td>
            <td><textarea name="css"></textarea></td>
        </tr>
        <tr>
            <td><textarea name="js"></textarea></td>
            <td><iframe src="tryit-result.php" name="result"></iframe></td>
        </tr>
    </table>
    </form>
    </html>
    HTML Code:
    <!--tryit-result.php-->
    <html>
    <head>
        <style type='text/css'>
            <?php echo file_get_contents('css contents')?>
        </style>
        <script type='text/javascript'>
        $(function() {
            <?php echo file_get_contents('js contents')?>
        });
        </script>
    </head>
    <body>
        <?php echo file_get_contents('html contents')?>
    </body>
    </html>
    FOX Designs

  2. #2
    Addicted Member
    Join Date
    Sep 2005
    Posts
    150

    Re: Try It Yourself Editor

    I personally don't know the error you are getting with your code and you didn't say it either.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width