Reply to Re: [PHP] Help with image map problem...

Your name:

Reply:


Posted by "Richard Lynch" on 10/09/56 11:19

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

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация