Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

PHP Forum


You are currently viewing our PHP Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
New, Simple output question
Old 10-25-2008, 06:40 PM New, Simple output question
Super Talker

Posts: 135
Trades: 0
Hello, i know almost nothing about PhP. I seem to make due reverse engineering some of the phpbb3 mods i use, but i have run into an issue.

Code:
'U_LINK_US2' => ';url=' . $u_link . ' ' . '>' . ('Video Editing Forum') . '</a>',
This is my code atm. The red areas are the ones im unsure of. When U_Link_US2 is called on by a html file, i want its output to look like:

Quote:
[ url=http://domain.com]Video Editing Forum[/url]
(the space between the bracket and url is just to keep this from actually linking)

However idk what the code is to output symbols. For instance i assume by guessing that "&nbsp;" puts a space in there? I can guess from another line that "&lt" and "&gt" are "<" and ">" respectively.

So my question is whats the code for "[" and "]" ?

Any help would be great as i cannot find the answer anywhere. If someone knows of a cheat sheet that lists the code for symbol output thatd be even better.

Thanks.
__________________

Please login or register to view this content. Registration is FREE

Computers – Electronics – Technology | Bringing Together your Digital Home

Last edited by CompTronicsTec; 10-25-2008 at 06:42 PM..
CompTronicsTec is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 10-25-2008, 06:48 PM Re: New, Simple output question
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,385
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
[ & ] don't need to be entities as they have no "special" meaning in HTML But you can use &# 91 ; for [ and &# 93 ; for ] [ remove the spaces] ( the ASCII number prefixed with &# and suffixed with ; )
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?

Last edited by chrishirst; 10-25-2008 at 06:50 PM..
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 10-25-2008, 08:02 PM Re: New, Simple output question
Super Talker

Posts: 135
Trades: 0
Ah ok, so thats what that is. Thanks a ton ill give it a try and let you know how it works out.
__________________

Please login or register to view this content. Registration is FREE

Computers – Electronics – Technology | Bringing Together your Digital Home
CompTronicsTec is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to New, Simple output question
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB 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.11708 seconds with 12 queries