Re: Simplest problem
| From: | lagodin at mail dot iae dot lt | Date: | Wed, 28 Jun 2000 07:19:16 +0000 |
| Subject: | Re: Simplest problem | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-3511@lists.php.net to get a copy of this message | ||
----- Original Message -----
From: dhaval desai <dhaval_adams@hotmail.com>
To: <php-general@lists.php.net>
Sent: 28 ÉÀÎÑ 2000 Ç. 11:14
Subject: [PHP] Simplest problem
> Hi!
>
> I want to change one sentence to the next line..
>
> This is the code:
> <html>
> <head>
> <title>
> This is My Test Php Chapter 1
> </title>
> <?php
> $rk=GoodGuy;
> $j=Badguy;
> $p=1;
> $r=5;
> ?>
> </head>
> <body>
> <?php
> print(Date("D, F Y"));
> print("$rk is Ramesh\n");
> print($p*$r);
> ?>
>
> **************************************
> Why isn't the ting coming in two lines even after using \n
> Tell me..guyz
use <br> instead of \n :-))
print("$rk is Ramesh<br>");
Php generates HTML and HTML hasn't any tag like \n or \r