String delimeters, arg!

From: Date: Tue, 01 May 2001 19:34:06 +0000
Subject: String delimeters, arg!
Groups: php.general 
Request: Send a blank email to php-general+get-50997@lists.php.net to get a copy of this message
Hello PHP'ers I am having a problem with string delimiters. For some reason no matter what I do I can not get them to process correctly!! For example, <? $area_entered = "yes"; $date_entered = "no"; echo "$area_entered\t\t\t$date_entered<br>"; ?> That outputs: yes no What am I doing wrong?! Is there something I need to set in the php.ini file? I would like to be able to type \n instead of <br> repeatidly! Also, when working with cookies, if I have a cookie that is set by, if (!isset($cookies)) { //Set Cookies $cookie_user = setcookie ("username", $row["user"], time()+86400, "/", "localhost"); $cookie_pass = setcookie ("password", $row["pass"], time()+86400, "/", "localhost"); $cookie_step = setcookie ("step", "1", time()+86400, "/", "localhost"); $cookies_set = setcookie ("cookies", "y", time()+86400, "/", "localhost"); } Is there a way to unset the cookie? Perhaps by, $cookie_set = setcookie ("cookies",""); ? Thanks for your time, Nick

« previous php.general (#50997) next »