Not quite sure what you mean, what you posted is what you need to do to make the image a link... And that's what you wanted... So.. What are you asking? Jake > -----Original Message----- > From: Tana [mailto:tana@xxxxxxxxx] > Sent: Thursday, March 29, 2007 1:02 PM > To: php-general@xxxxxxxxxxxxx > Subject: link on user uploaded pic > > Hi > > which is the best way to change this code > > <img src="images/user_upload/akarmi.jpg"> > > to > > <a href="images/user_upload/bp_akarmi.jpg"><img > src="images/user_upload/akarmi.jpg"></a> > > in html ? > > > ---------------------------- > Tana > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.446 / Virus Database: 268.18.20/737 - Release > Date: 3/28/2007 4:23 PM > > -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 268.18.20/737 - Release Date: 3/28/2007 4:23 PM -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php