I am stuck using include () function
Posted: Tue Sep 02, 2003 1:11 am
I have created two pages
index.php
this page is the main page. and i have included
include(jawab.php?a=default) in this page
---------------------------------------------
jawab.php
in this page i have used
$_SERVER["PHP_SELF"];
in the anchor tag
I have the problem here.
when i click the anchor in the index.php the jawab.php is not opening in freshly instead it is opened there it self.
and the $_SERVER["PHP_SELF"] is taking value
index.php instead of jawab.php when include as mentioned above.
how can i overcome this problem.
index.php
this page is the main page. and i have included
include(jawab.php?a=default) in this page
---------------------------------------------
jawab.php
in this page i have used
$_SERVER["PHP_SELF"];
in the anchor tag
I have the problem here.
when i click the anchor in the index.php the jawab.php is not opening in freshly instead it is opened there it self.
and the $_SERVER["PHP_SELF"] is taking value
index.php instead of jawab.php when include as mentioned above.
how can i overcome this problem.