« Project home page

phpSQLiteCMS Forum

Back to the forum index
Open in thread

How to post code (General)

by Alex @, Sunday, April 20, 2008, 12:49 (872 days ago)
edited by Alex, Wednesday, June 17, 2009, 18:12

Hi,

to post code you can use the BB code [code].

Examples:

PHP:

[code=php]<?php echo 'Hello World!'; ?>[/code]

...will look like...

<?php echo 'Hello World!'; ?>

HTML:

[code=html]<p class="helloworld">Hello World!</p>[/code]

...will look like...

<p class="helloworld">Hello World!</p>

CSS:

[code=css]body
{
   font-family:verdana,arial,sans-serif;
   font-size:100.1%;
   margin:0;
   padding:0;
   background:#fff;
}
[/code]

...will look like...

body 
 { 
   font-family:verdana,arial,sans-serif;
   font-size:100.1%;
   margin:0;
   padding:0;
   background:#fff;
 }
 
 

Complete thread:

 RSS Feed of thread

192 Postings in 89 Threads, 63 registered users, 9 users online (0 registered, 9 guests)
Forum time: 2010-09-09, 15:03
RSS Postings  RSS Threads | Contact
powered by my little forum