Re: insert hyperlink to mysql query result

From: Date: Thu, 23 Aug 2001 01:25:38 +0000
Subject: Re: insert hyperlink to mysql query result
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-64004@lists.php.net to get a copy of this message
echo "</td><td><font face=verdana size=1><p><a href=http://www.expedia.com/pub/agent.dll?qscr=mcst&strt1=".$amyrow["address "]." &city1=".$amyrow["city"]."&stnm1=CA&zipc1=&cnty1=4>Map</p>"; echo "</td>"; ----- Original Message ----- From: "Andras Kende" <info@kende.com> To: <php-general@lists.php.net> Sent: Thursday, August 23, 2001 11:26 AM Subject: [PHP] insert hyperlink to mysql query result > Hello, > > I have a mysql query with addresses , trying to insert a link to a map > > line 51 > echo "</td><td><font face=verdana size=1><p><a > href=http://www.expedia.com/pub/agent.dll?qscr=mcst&strt1=$amyrow["address"] > > &city1=$amyrow["city"]&stnm1=CA&zipc1=&cnty1=4>Map</p>"; > echo "</td>"; > > Error Message: > > Parse error: parse error, expecting T_STRING' or > T_VARIABLE' or > `T_NUM_STRING' in /home/sites/site15/web/salescomps.php on line 51 > > > I think its the " character is the problem like :$amyrow["address"] > > Any help apprecciated, > Thanks > > Andras > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.general (#64004) next »