Hi Denis, You should close the PHP tag (?>) before outputing HTML.
Regards, Daniel Kushner _________________________________________ Need hosting? http://thehostingcompany.us -----Original Message----- From: Denis L. Menezes [mailto:[EMAIL PROTECTED]] Sent: Saturday, January 11, 2003 8:25 PM To: PHP general list Subject: [PHP] Some help on PHP & HTML please HGello friends. I have a database from which I take 2 variables as follows : $CompanyWebsite $CompanyLogo I want to dynamically show two GIFs and when the user clicks on these, they should go to http://www.hotmail.com and http://www.yahoo.com respectively. I have problem only with the displaying(the error is parse error on the lines containing <a> tags), for which I use the folowing code. Please tell me where I am wrong. <?php Print " Organisation address : ".$row[CompanyAddress]." <br>\n".""; Print " Organisation website : ".$row[CompanyWebsite]."<br>\n"." "; // I am displaying this when testing only. Print " Organisation logo : ".$row[CompanyLogo]."<br>\n"." ";?> // I am displaying this when testing only. <a href="http://www.hotmail.com"><img src="logos/constr12.gif" width="100" height="100" border="0"></a> <a href="http://www.yahoo.com"><img src="logos/constr12.gif" width="100" height="100" border="0"></a> ?> Thanks Denis -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php