Try this...

<?php
 if (!$UN)
 {
?>
<SCRIPT LANGUAGE=JAVASCRIPT>
alert('Please enter a User Name.');
self.history.back();
</SCRIPT>
<?
 }
?>

Cheers,

Brad

On Sun, 21 Jan 2001 [EMAIL PROTECTED] wrote:

> Hi,
> 
> Can anyone tell me before I rip my hair out, why this won`t work??
> 
> if (!UN)
> {
> printf("<SCRIPT LANGUAGE='JAVASCRIPT'>alert('Please enter a User 
> Name.');self.history.back();</SCRIPT>");
> }
> 
> TIA
> Ade
> 
> 



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to