[RESOLVED] Please ignore as the error was in a different part of the script
I upgraded my PHP from 4 to 5.2.8 and quite a lot of stuff has stopped working - ****!
One such thing is the following line of code
I have commented out this line of code to see what value $starImagePath has and it isCode:echo "<img src=\"/".$starImagePath."\" title='Star Rating' alt='Star Rating' >";
starImagePath = ../images/3star.gif
Here is the code block that the troublesome line of code is contained in
When the line of code is included, my page displays absolutely nothing - just a blank window and the generated source isCode:if ($starRating > 0) { $starImage = $starRating . "star.gif"; $starImagePath = IMAGES_DIRECTORY.$starImage; echo "starImagePath = " . $starImagePath; echo "<img src=\"/".$starImagePath."\" title='Star Rating' alt='Star Rating' >"; }
<html><head></head><body></body></html>
Any ideas?
Thanks
Paul






Bookmarks