hi guys...
how can i add a pop window for the this code?
i want to customize the new window and specify the location in the screen...
index.php
<var newwindow;
function Poptastic(url)
{
newwindow=window.open(url,'name','height=400,width=200');
if (window.focus) {newwindow.focus()}
}
<a href='javascriptšoptastic('./page2.php?variable2=".$variable1."');'>$variable1</a>
page2.php
<?php
$variable3 = $_GET['variable2];
echo "your name is: ".$variable3;
?>
what is wrong with the code? i got a parse error when i open the page....
kindly give suggestions...
thanks