- Impact
- 91
hello
i am here once again with my problems
i have a php variable containing a URL -- $url
what i want to do is to open a new window opening the URL specified in $url
here is my code to generate a new window
the above does not work as the browser takes $url as a string and tries to open the relative path
i have tried variation such as \"$url"\ but this give me some ASCII error
please guide me on where i am going wrong
i am here once again with my problems
i have a php variable containing a URL -- $url
what i want to do is to open a new window opening the URL specified in $url
here is my code to generate a new window
Code:
echo '<SCRIPT LANGUAGE="JavaScript"><!-- Begin
window.open ("$url")
// End --></script>';
i have tried variation such as \"$url"\ but this give me some ASCII error
please guide me on where i am going wrong








