Jump to content

do you think the forum [code]code[/code] to read is to small and should be made larger.  

8 members have voted

  1. 1. do you think the forum [code]code[/code] to read is to small and should be made larger.

    • yes
      8
    • no
      0


Recommended Posts

You can use php tags but it doesn't put it in a scrolling box

[hr][code=php:0]
    // indents are preserved + color coding
    if ($x == 1) {
          // do something
          echo "Hello World", '<br>';
    }
[/code][hr]
Link to comment
https://forums.phpfreaks.com/topic/13262-forum-code-size/#findComment-51139
Share on other sites

I've actually brought this up in our admin forum! I didn't know you can use PHP tags though! Also, if you put the <?php and  ?> between code tags you get colour coding... But yeah, it is too small!
[code]<?php
function count_to_one_hundred() {
    for($i=1; $i<=100; $i++)
        echo $i."<br/>";
}

count_to_one_hundred();
?>[/code]
Link to comment
https://forums.phpfreaks.com/topic/13262-forum-code-size/#findComment-51170
Share on other sites

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.