Re: Why won`t this work??

From: Date: Sun, 21 Jan 2001 09:24:10 +0000
Subject: Re: Why won`t this work??
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-35887@lists.php.net to get a copy of this message
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 Website4S@aol.com 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 > >

« previous php.general (#35887) next »