The else clause can be removed, since it is not doing anything. What is the error message?
Kirk > Hey everyone, I need some help with a variable issue. How can > I delcare a variable and then if a url variable of the same > name is present use that value instead? > > this is what I have: > if(!$dte) > { > $dte=date("j", time()+$ctime); > } > else > { > $dte=$dte; > } > and this causing an error in the 'if' expression. -- 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]