Re: Help with image map problem...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux