• Hi Admin,
    I have a code written in php e.g. <?php echo(“hello world”); ?>
    In my text editor on my word press page i have a text box that i want the value to be the output of my code
    e.g.
    <input type=”text” value='[wce_code id=4]’ />
    where [wce_code id=4] is the shortcode for my php code.

    Please help on how to go about that

The topic ‘How to echo code into html elements’ is closed to new replies.