Jump to content

Recommended Posts

do you mean like this

 

echo "Use the PHP tags";
?>

 

use the PHP BBcode tag

[code=php:0]Your  code here

 

[/code]

 

I wouldn't use the [.php] tags because if you ever CnP long code from it, there seems to be large amounts of linebreaks.  I always use the regular [.code] tags and just encapsulate my code with <?php ?> tags.

BTW, there is a way to write the string


so it is treated as a plain string without putting spaces or other useless characters in it. Just use the [nobbc][/nobbc] tags like I do:

 

Please use

tags when posting code

is actually typed as

Please use [nobbc]

[/nobbc] tags when posting

 

Ken

 

 

BTW, there is a way to write the string

so it is treated as a plain string without putting spaces or other useless characters in it

 

But then when you quote, it doesn't recognize the [nobbc][/nobbc] tags ;(

 

Plus, it's easier to add a period or space in.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.