View Single Post
  #1 (permalink)  
Old 07-19-2004, 09:34 PM
churnopol churnopol is offline
Junior Member
 
Join Date: Nov 2003
Posts: 21
Send a message via AIM to churnopol
Default php/javascript help - seems so simple

i need some help with onclick navigating.
i'm trying to manipulate this code
Code:
<? include("index1.php"); ?>
but i want to be able to change "index1.php" to a variable
Quote:
var = 'index1.php'

<?
include("var");
?>
and change the variable with an onClick action
Quote:
<?
include("var");
?>

Links


Downloads

how would i do this?
it seems so simple but i cant figure it out
Reply With Quote