Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

PHP issue with the server not rendering the code output

Status
Not open for further replies.

asadsalmanmcp

IS-IT--Management
Feb 10, 2006
7
US
Notice that the HTML rendered in the browser dies right where that php tage is opened.


You'll see that the HTML abruptly cuts off:
<td width="60%" align="center" valign="middle"><div align="center"><img
src="
That's why there's nothing on the page.

This is the actual code:

<td width="60%" align="center" valign="middle"><div align="center"><img
src="<?php require 'php/libraryimage.php'; ?>" alt="Image of the
library" name="library" width="240" height="118" id="library"
usemap="#Map" border="0">

I did restart the IIS services and did make sure that i did follow the but still having issue that php engine it's not working or what. IF somebody have any idea about this i will really appreciate. thanks in Advance
 
the problem is that the file you are requiring is not present. if it is not present then the failed require call will halt the script
 
I am new bee at php, Can you tell it can possible that the Html rendered in the broswer dies right where the php tage is opened. or it's a issue with the server not rendering the code output, not parsing correctly. i did check the code that is missing in the file it's already their. thanks for the update Jpadie.
 
if the file is definitely there then the problem is likely to be that there is something in the libraryimage.php that is stopping output.

to debug, make sure that error reporting and error display is turned on and point your browser directly at that libraryimage.php file. you should get some error messages on the screen.

if you're still stuck, post the code here.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top