Lassie Posted November 27, 2007 Share Posted November 27, 2007 I am trying to find a fault which is most bizarre. I have a simple program to update an array when a page is bookmarked which fails to display and does not show error messages. After posting on the forum and recieving some help the problem still persits. I decided to start from basic and build the program again in steps. The code for the rework is shown below. I still get the same result - blank page. I decided to broaden my checks and am getting some odd results that might indicate a problem with my set up. If copy code from a simple program that has a header and some html text with little php (although it is a php page) I get the text but no headers! The original page shows as normal. I have no idea what to try to track this down and would be grateful for any suggestions. Code for rework which is just the start is <?php require_once('db_fns.php'); require_once('./includes/config.inc.php'); echo "Requires completed<br /\n"; exit(); ?> The link to this page is:- $target='bookmark_list.php?product_id='.$product_id; display_bookmark($target, 'bookmark', 'add to browse list'); The function is function display_bookmark($target, $image, $alt) { echo "<a href=\"$target\"><img src=\"images/$image".".gif\" alt=\"$alt\" border=0 height = 57 width = 55></a>"; } [code] Also if I just reference the page as http://localhost/e_cart17/bookmark_list.php - I also get a blank page. [/code] Link to comment https://forums.phpfreaks.com/topic/79091-page-fails-to-display-echo/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.