到目前为止,我一直在使用GET变量,当单击链接/按钮时,该变量被传递给URL,然后index.php页面加载该页面。
?page=aboutUsis passed to URL and thenindex.phpincludesaboutUs.phpalong withheader.phpandfooter.php`.-默认情况下,网站会加载index.php页面,其中包括header.php、home.php、footer.php<
这里涉及3个文件: coordinates_update.html、passitalong.js和dbquery.php
坐标更新包括jquery、javascript和passitalong.js,当按钮被按下时,它会获得一堆变量并调用passitalong.js中的函数,同时将变量传递给这个函数。Pass it along.js现在包含一行ajax代码,用于将这些变量传递给qbquery.php(最终用于查询数据库,但目前只是用于