I have a MySQL database which is sent info from a form via PHP.
I then have a PHP4 file that displays the database results.
The address display is linked such that the address will be mapped in Yahoo by simply clicking the address link.
Problem: Only the numerical portion of the address gets posted to Yahoo! Anything after the space is dropped off.
Question: What am I doing wrong? (the address is fully listed in the form, just not after the link click...see code below)
variables in this example: $field08 = 1207 Cambridge Dr
<a href=http://maps.yahoo.com/py/maps.py?BFCat=&Pyt=Tmap&newFL=Use+Address+Below&addr=";
echo ($field08);
echo "&csz=";
echo '$field12';
echo "&Country=us&Get%A0Map=Get+Map>$field08</font></a></td>
Yields
<a href=http://maps.yahoo.com/py/maps.py?BFCat=&Pyt=Tmap&newFL=Use+Address+Below&addr=1207 Cambridge Dr&csz=$field12&Country=us&Get%A0Map=Get+Map>1207 Cambridge Dr</font></a></td>
I know that '$field12'; should have been ($field12); I was just experimenting.