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] Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.