Re: Help with image map problem...
| From: | Richard Lynch | Date: | Fri, 24 Jun 2005 03:20:56 +0000 |
| Subject: | Re: Help with image map problem... | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-217532@lists.php.net to get a copy of this message | ||
On Wed, June 22, 2005 10:16 pm, Joey said:
> If I put this in the .php file, the results are as expected:
> Value: <% echo $value; %>
>
> If in the SAME file I put:
> <map name="FPMap0">
> <area href="display_status.php?searchby=cust_no&search=1&value="<% echo
> $value %>" shape="rect" coords="51, 1, 215, 34">
> </map>
I'm gonna go out on a limb and put my money on:
Your <map> stuff is inside of a FUNCTION block, where $value is not defined.
You need to pass $value into your function.
Or you could declare it "global" in the function, but that's just icky.
--
Like Music?
http://l-i-e.com/artists.htm