Jump to content


Photo

forum code size


  • Please log in to reply
2 replies to this topic

Poll: do you think the forum [code]code[/code] to read is to small and should be made larger. (8 member(s) have cast votes)

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

  1. yes (8 votes [100.00%])

    Percentage of vote: 100.00%

  2. no (0 votes [0.00%])

    Percentage of vote: 0.00%

Vote Guests cannot vote

#1 redarrow

redarrow
  • Members
  • PipPipPip
  • Advanced Member
  • 7,308 posts
  • Locationlondon

Posted 30 June 2006 - 06:06 AM

Do you think the forum
code
to read is to small and should be made larger.

I dont have 20/20 vision not fair make
larger

Wish i new all about php DAM i will have to learn
((EMAIL CODE THAT WORKS))
http://simpleforum.ath.cx/mail2.inc
((PAYPAL INTEGRATION THAT WORKS))
http://simpleforum.a...aypal1_info.inc

#2 Barand

Barand
  • Moderators
  • Sen . ( ile || sei )
  • 18,017 posts

Posted 30 June 2006 - 10:36 AM

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

 
    // indents are preserved + color coding
    if ($x == 1) {
          // do something
          echo "Hello World", '<br>';
    }
 
If you are still using mysql_ functions, STOP! Use mysqli_ or PDO. The longer you leave it the more you will have to rewrite.

Donations gratefully received






moon.png

|baaGrid| easy data tables - and more
|baaChart| easy line, column and pie charts

#3 Kris

Kris
  • Staff Alumni
  • Advanced Member
  • 2,755 posts
  • LocationThe Internet

Posted 30 June 2006 - 12:17 PM

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!
<?php
function count_to_one_hundred() {
    for($i=1; $i<=100; $i++)
        echo $i."<br/>";
}

count_to_one_hundred();
?>





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users