开发者

Google Maps won't load inside a .php file

Well, my issue is that when I'm trying to load a google maps script inside a maps.php file, it won't load. But when I change the file ending to maps.html开发者_如何学JAVA it works just fine. What is causing this problem?

Regards / Denis


This line is probably why:

downloadUrl("loadTest.php?myAdId="+ "<?php echo $ad_id; ?>", function(data){

There are a few references to real PHP code, so it must be failing... HTML is just echoing the PHP code and if you tested some functions it would still break.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜