View Single Post
Old 09-21-2012, 01:00 AM   PM User | #6
AndrewGSW
Senior Coder

 
Join Date: Apr 2011
Location: London, England
Posts: 2,120
Thanks: 15
Thanked 354 Times in 353 Posts
AndrewGSW will become famous soon enough
This
Code:
span.innerHTML = "' . $endtext . '";
seems to be wrong. It should be
Code:
span.innerHTML = "'" . $endtext . "'";    // or perhaps..
span.innerHTML = "$endtext";
depending on where/how it is positioned within your PHP code.
__________________
"I'm here to save your life. But if I'm going to do that, I'll need total uninanonynymity." Me Myself & Irene.
Validate your HTML and CSS

Last edited by AndrewGSW; 09-21-2012 at 01:03 AM..
AndrewGSW is offline   Reply With Quote