Re: [PHP] Problem with Not displaying HTML if data not found

2002-07-22 Thread markbm
74EFEF5034CFB9D@EXCHANGE... > what about > if (strlen($result["FLRPLAN_3"]) > 0) > > > > -Original Message- > From: markbm [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, July 23, 2002 2:02 PM > To: [EMAIL PROTECTED] > Subject: [PHP] Problem with N

[PHP] Problem with Not displaying HTML if data not found

2002-07-22 Thread markbm
I am trying to develop a page that, in certain places, I only want it to display the and s if data is found for a given field. For example, if I only have an image for the first floorplan of a house, I do NOT have an image for the second floorplan of a house, then show the first floorplan imag

Re: [PHP] Retrieving/Displaying hyperlinked images with PHP

2002-07-07 Thread markbm
$result[FRONT_REND].";>"; //printf("FRONT_REND: %s\n", mysql_result($result,0,'')); printf("REAR_REND: %s\n", mysql_result($result,0,"REAR_REND")); printf("SIDE_REND1: %s\n", mysql_result($result,0,"SIDE_REND1")); printf(&quo

[PHP] Retrieving/Displaying hyperlinked images with PHP

2002-07-06 Thread markbm
I am trying to build a "product detail" page that pulls data from a MYSQL database using PHP. The data for the page includes product images, which I am trying to link to (i.e. from their location on the web server) instead of loading the images into the database. However, I cannot find any sample