I have a page that consist of two frames..top and bottom..
in the top frame i display a banner and a timer..
at the bottom frame i use to display my pages.
in the bottom frame i have this codes to fire up next2.php script which do navigation of my page
<FORM ACTION="next2.php" METHOD="post" target="_self">
<input type="submit" name="answer" value="A" CLASS="colornormal" style="position:absolute; top:247; left:150;">
</FORM>
in the next2.php script i use this line to navigate to my desired page......
header("Location: http://localhost/Jpj_Test/frame/Ques_$Rand[$i].php");
The problem is the page wont display in the bottom frame.Since it will display properly if there is no frame(i try with no frame page).I figure out it must be the problem with the redirection line...but i dun know how to fix it...
ok...problem number 2..
i have problem with the redirection line too..now its the onclick function...it wont display juz like above..it must be the redirection code....but i dun know how to do it the correct way..please advise...im desperate here...
<input type="button" name="indeks" value="<?php $d=$c+1; echo "$d"; ?>" CLASS="colornormal" ONCLICK="window.location.href='http://localhost/Jpj_Test/JPJTEST/indeks_directpage.php?val=<?=$c;?>';"