Reply
Parse error
Old 05-30-2006, 01:52 PM Parse error
Average Talker

Posts: 20
Parse error: parse error, unexpected T_STRING, expecting ',' or ';' in /homepages/6/d155811398/htdocs/eN/site.php on line 2739

PHP Code:
// shows the rank page

function dispRanks() {

global 
$bordercolor1$tablebg1;

echo 
"<br>
        <p align="
left"><b><i>Ranks</i></b> <font size="1">(Under Construction)</font>;

        </p><hr><p></p> 
since 2739 is Ranks I dont see what's wrong.
Arez2 is offline
Reply With Quote
View Public Profile
 
When You Register, These Ads Go Away!
Old 05-30-2006, 01:54 PM Re: Parse error
Christopher's Avatar
Iced Cap

Posts: 3,111
Location: Toronto, Ontario
You have to escape quotes that are in quotes.

aling="left" has to be align=\"left\", and elsewhere.

PHP doesn't read your mind and know when you want to start and end a string If you are using quotes within a string, escape them.
Christopher is offline
Reply With Quote
View Public Profile Visit Christopher's homepage!
 
Reply     « Reply to Parse error
 

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


Webmaster Resources Marketplace:
Software Development Company | Webhosting.UK.com | Text Link Brokers 


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

 


Page generated in 0.10535 seconds with 12 queries