Jump to content

[SOLVED] echo <?php


kimla

Recommended Posts

Hi.

 

I'm having a problem with echoing <?php.

 

I'm making a small little bbcode-thing where i want

all the code goes here

.

The problem is when the code is something like this:

 

[startcode]

<?php

echo 'Hello world';

?>

[endcode]

 

The <?php won't show, is there a nifty, quick solution to this? :)

 

echo "<?php .... ?>"; How do you do this without the <?php falling away?

Link to comment
https://forums.phpfreaks.com/topic/58996-solved-echo/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.