View Single Post
Old 01-14-2013, 03:07 AM   PM User | #3
doubledee
Regular Coder

 
doubledee's Avatar
 
Join Date: Mar 2011
Location: Arizona
Posts: 617
Thanks: 19
Thanked 0 Times in 0 Posts
doubledee has a little shameless behaviour in the past
I think I have the issue isolated, but still have no clue about what is wrong...

In my "view-pm.php" script which displays a Private Message, I have this snippet of code which builds the From: part of the message...

PHP Code:
    if ($msgView == 'incoming'){
        
$fromData "<a href='/account/profile/$fromUsername/about-me'>"
        
$fromUsername
        
"<img id='onlineStatus' src='/images/"
        
$fromMemberStatus[0]
        . 
"' width='10' alt='"
        
$fromMemberStatus[1]
        . 
"' /><br />"
        
"<img src='/uploads/"
        
$fromPhoto
        
"' width='80' />"
        
"</a>";

echo 
'$fromData = ' $fromData "<br />";
exit(); 

If I isolate this code, run the script, and view the output I get...

Code:
$fromData = <a href='/account/profile/username1/about-me'>username1<img id='onlineStatus' src='/images/Light_Gray_10.png' width='10' alt='Member Offline' /><br /><img src='/uploads/NoImage2_100x77.png' width='80' /></a><br />

Apparently this PHP and/or HTML is causing a 404-Error when my Private Message displays?!


What in the world is going on????


Debbie
doubledee is offline   Reply With Quote