How to pass a variable using $_get to get the value later
Posted: Fri Oct 18, 2002 11:24 pm
I need to pass a variable using $_get (or anything).
The variable is actually a path such as "/path/pics"
this is what i have
When i do this i get unterminated string constant???
Any ideas?
The variable is actually a path such as "/path/pics"
this is what i have
Code: Select all
$picsFolderFile = "/path/pics";
<a name='myPic' onClick=goToSlideShow('<?php echo $picsFolderFile ?>'); >
TESTIN </a>Code: Select all
function goToSlideShow(var1)
{
eval("window.open('myhello.php?albumPath=<?php echo "$var1"; ?>','','fullscreen=1,toolbar=1,scrollbars=1, resizable=1')");}When i do this i get unterminated string constant???
Any ideas?
