Webmaster Forums - Webmaster forum for HTML, PHP, ASP, CSS and more

Go Back   Webmaster Forums - Webmaster forum for HTML, PHP, ASP, CSS and more > Web Programming > PHP Development
User Name
Password

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old 12-28-2005, 07:13 AM   #1 (permalink)
foxvince
Member
 
Join Date: Dec 2005
Posts: 40
Default How Do I Post My PHP, HTML or Other Code?

It is very common for users having problems with scripts to submit questions related to a script or code they are working on. If you would like to submit your code, use these tags and your code will appear in a colored box and, in the case of PHP, parse it and color code the different structures of your script.

For PHP code, enclose your code in [php ] and [/php ] tags (minus the spaces).

PHP Code:
Quote:
<?php
$message = "It'll look absolutely great and be parsed.";
?>

For HTML markup, enclose your segment in [html ] and [/html ] tags (minus the spaces).

HTML Code:
Quote:
<html> <head> <title>WT Rocks!</title> </head> <body> <h1>I really love eating chicken!</h1> </body> </html>


Quote:
For all other code, enclose your segment in [code ] and [/code ] tags (minus the spaces).

Code:

var i = 9; for( n=0; n<9; n++ ) { print "Performing some task " + n + " times."; }


I hope these instructions will help you post your code in a more attractive and readable manner and ultimately, to get your questions answered more completely.
foxvince is offline   Reply With Quote
Sponsored Links
Old 02-21-2006, 08:26 PM   #2 (permalink)
nasaboy007
Junior Member
 
Join Date: Feb 2006
Posts: 20
Default Re: How Do I Post My PHP, HTML or Other Code?

yes these php, html, and code tags can be very useful at times, but some forums sometimes do not support it. im pretty sure all webmaster forums do, but invision power board does not.
nasaboy007 is offline   Reply With Quote
Old 02-21-2006, 08:38 PM   #3 (permalink)
smub
Member
 
Join Date: Feb 2006
Posts: 31
Default Re: How Do I Post My PHP, HTML or Other Code?

yes agreed ... ipb doesnot support these codes ... vB and phpbb does for sure. I am not sure about SMF
smub is offline   Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Points Per Thread View: 1.00
Points Per Thread: 11.00
Points Per Reply: 5.00



» Sponsors

» Links

» Affiliates
Web Hosting
Marketing Find
Merchant Select
SiteMap Builder
Host Compare
Dedicated Servers

» Links

» Sports Network
Paintball Forum
Football Forum
Hockey Forum
Golf Forum
Boxing Forum
Lacrosse Forum
Baseball Forum
SnowBoarding Forum
Soccer Forum
MMA Forum


All times are GMT -4. The time now is 11:08 PM.



LinkBacks Enabled by vBSEO 3.0.0 RC8
Webmaster Forums