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
Where abouts in this statement should my £ go?
Old 10-29-2008, 05:55 AM Where abouts in this statement should my £ go?
Novice Talker

Posts: 10
Name: kellyy
Trades: 0
Im trying to echo print a "£" before the price, where abouts would this need to go because ive tried a few ways and i keep getting errors

PHP Code:
Echo "<b>Price:</b> ".$info ['price'] . " <hr>"
and am i using the right method to display it?

"\ £s "\ or with the html syntax- "&pound;"
kelly3330 is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 10-29-2008, 06:22 AM Re: Where abouts in this statement should my £ go?
Novice Talker

Posts: 10
Name: kellyy
Trades: 0
Ok i got the pound sign working but now i am getting a little square after the £ sign and before the price
this is what im using

PHP Code:
Echo "<b>Price:</b> &pound;".$info ['price'] . " <hr>"
can anyone help me out here please
kelly3330 is offline
Reply With Quote
View Public Profile
 
Old 10-29-2008, 07:39 AM Re: Where abouts in this statement should my £ go?
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,385
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
it's in the database field
__________________
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?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 10-31-2008, 09:23 AM Re: Where abouts in this statement should my £ go?
Super Spam Talker

Latest Blog Post:
PSD Squirrel Launched
Posts: 932
Trades: 7
whats yer page encoding set to?
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
Sir P is offline
Reply With Quote
View Public Profile Visit Sir P's homepage!
 
Reply     « Reply to Where abouts in this statement should my £ go?
 

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