View Full Version : Resolved Ajax Tabs Content Script load unix timestamp on tab

10-08-2010, 07:58 PM
1) Script Title: Ajax Tabs Content Script (v 2.2)

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex17/ajaxtabscontent/index.htm

3) Describe problem:
see it here (http://www.dynamicdrive.com/forums/showthread.php?t=24096) that ajax cant load javascript, so i write a php file to get url parameters, and hope it can load on tabs.
the php file:
echo $_SERVER["QUERY_STRING"]."<br>";
<a href="http://www.site.com/index.php?id=<?php echo $id;?>">a link here</a>

it can get the url parameters in the externalpage.html fine, but it add a "&current unix timestamp" string after the parameters the php file got. so it cant work in tabs.

works in single externalpage

cant work in tabs

can anyone help? thx!

10-09-2010, 02:46 AM
Use $_GET instead.

10-09-2010, 07:17 AM
Use $_GET instead.

it works!!
thank you for your help!