problem with the php get function?

Lacus-chan

New Member
i want to pass this paramater \[code\]topic\[/code\] to another page,p.s. the page is loaded using jquery?the url:\[code\]http://localhost/final/home.php#page2?topic=jquery\[/code\]now, i want to echo the the topic on #page2\[code\]<h3 class="timeline"><?php echo $_GET["topic"]; ?> </h3>\[/code\]but it deosnt echo, any solutions, sorry for the newbiw questions :))load_page.php\[code\]<?phpif(!$_POST['page']) die("0");$page = (int)$_POST['page'];if(file_exists('pages/page_'.$page.'.php'))include('pages/page_'.$page.'.php'); // i.e page_2.phpelse echo 'There is no such page!';?>\[/code\]
 
Back
Top