...

View Full Version : Passing multiple values with window.location.href



Anishgiri
05-19-2011, 04:54 AM
So far I have this


<script>
window.location.href="data_entry.php?value1=<?php echo $value1; ?>" +;
</script>

how can I pass another value on another variable aside from value1? I want a new variable to get a value. Thanks

DanInMa
05-19-2011, 05:00 AM
<script>
window.location.href="data_entry.php?value1=<?php echo $value1; ?>" +"&value2=<?php echo $value2; ?>";
</script>



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum