At 23:52 18-3-2003, you wrote:
I wrote a function to redirect my page to another one.   But for some
reason I keep getting an error.
here is the function I made

function js_pointer_login($thepage)
{
 echo '<script language="javascript">  window.location = '$thepage'
</script>';
}
beside the quote thing which others mentioned, please make it as cross-browser-compatible as possible:
window.location.href=


and try to let $thepage be a complete url, including the http:// and the www.domain.org/ part. That will work in more browsers!



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to