Hi Nick,
to delete a cookie, simply use set_cookie("cookie_name"); without appending
any values.
Possible solutions for the \t and \n :
For \n to , use:
$string = nl2br($string);
Not sure whether or not there a similar function for \t, though you could
perhaps use some method to replace \t wit
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,
";
?>
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 \
> 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";
> ?>
>
> That outputs:
> yes no
>
> What am I doing wr
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,
";
?>
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
4 matches
Mail list logo