wayland Posted May 14, 2010 Share Posted May 14, 2010 I keep getting syntax when I try to change addresses. The top address works great, I want to delete this top address and use the bottom address. <a href=\"mailto:$config{'admin_address'}\">$config{'admin_address'}</a> <a href="http://mysale2.com/cgi-bin/auction/auction.pl?action=lostpass">Forgot Your Password</a> Does anyone know how to change the code to make the bottom address work with the website? Here is the total code from my website in the Sub I am working on. Thanks ------------------------------------------------------------------------------------- sub oops { print "<table align=\"center\" border=\"0\" width=\"90%\" cellspacing=0 cellpadding=0>"; print "<tr><td width=\"90%\" bgcolor=\"$config{'colortablehead'}\">"; print "<center><h2>User Error</center></h2>"; print "</td></td>"; print "<tr><td width=\"90%\" bgcolor=\"$config{'colortablebody'}\">"; print "<p><font color=\"#FF0000\"><h3>Error:</font><br>$_[0]</h3><P>Please hit the back < button on your browser to try again or contact the auction administrator at <a href=\"mailto:$config{'admin_address'}\">$config{'admin_address'}</a> if you believe this to be a server problem.<p>\n"; print "</td></tr>"; print "</table>"; ----------------------------------------------------------------- Link to comment https://forums.phpfreaks.com/topic/201728-syntax-error-trying-to-add-page-link-how-to-recode/ Share on other sites More sharing options...
haku Posted May 14, 2010 Share Posted May 14, 2010 This is really a PHP question, not an HTML question. print '<a href="http://mysale2.com/cgi-bin/auction/auction.pl?action=lostpass">Forgot Your Password</a>'; Link to comment https://forums.phpfreaks.com/topic/201728-syntax-error-trying-to-add-page-link-how-to-recode/#findComment-1058315 Share on other sites More sharing options...
wayland Posted May 14, 2010 Author Share Posted May 14, 2010 Sorry for posting in wrong section, I am moving it now. Thanks Link to comment https://forums.phpfreaks.com/topic/201728-syntax-error-trying-to-add-page-link-how-to-recode/#findComment-1058379 Share on other sites More sharing options...
haku Posted May 14, 2010 Share Posted May 14, 2010 It's all good - I gave you the answer! Link to comment https://forums.phpfreaks.com/topic/201728-syntax-error-trying-to-add-page-link-how-to-recode/#findComment-1058388 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.