Reply
Showing Code Example
Old 03-05-2008, 12:48 AM Showing Code Example
Average Talker

Posts: 17
Name: bernard
Hello there. I know that using < and > is suggested, but I was wondering how do people place code examples in text boxes? Any suggestions would be very appreciated!!
bmin is offline
Reply With Quote
View Public Profile
 
When You Register, These Ads Go Away!
     
Old 03-05-2008, 01:25 AM Re: Showing Code Example
Arenlor's Avatar
Ultra Talker

Posts: 463
Name: Jerod Lycett
Location: /home/arenlor
Other than < and > you can use their numbers http://www.w3schools.com/tags/ref_entities.asp
__________________
PHP Code:
<?php echo "Hello World"?>
HTML Code:
<html><head><title>Hello World</title></head><body><p>Hello World</p></body></html>
Arenlor is offline
Reply With Quote
View Public Profile Visit Arenlor's homepage!
 
Old 03-05-2008, 01:31 AM Re: Showing Code Example
Average Talker

Posts: 17
Name: bernard
Thank you very much for your reply! If you don't mind me asking, how did you make the text box for the PHP Code? I was thinking of placing something like that on my website to display the code.
bmin is offline
Reply With Quote
View Public Profile
 
Old 03-05-2008, 03:14 AM Re: Showing Code Example
chrishirst's Avatar
Super Moderator

Posts: 12,815
Location: Blackpool. UK
Here's one we prepared earlier
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
Indifference will be the downfall of mankind, but who cares?
Code Samples | People Counting System
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Reply     « Reply to Showing Code Example
 

Thread Tools

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 Off
Pingbacks are Off
Refbacks are Off




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.12139 seconds with 13 queries