Re: Simplest problem
| From: | dhaval desai | Date: | Wed, 28 Jun 2000 08:30:14 +0000 |
| Subject: | Re: Simplest problem | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-3515@lists.php.net to get a copy of this message | ||
Hey!
Guys I know...that in HTML we use <br> tag to change the line.
But I am referring that \n from a book on php called
Core PHP Programming by Leon Atkinson.
This guy says to use a "\n"
Now tell me what is the exact problem.
Thanx
Dhaval Desai
From: Oyvind Gronnesby <oyving@orakel.ntnu.no> Reply-To: php-general@lists.php.net To: dhaval desai <dhaval_adams@hotmail.com> CC: php-general@lists.php.net Subject: Re: [PHP] Simplest problem Date: Wed, 28 Jun 2000 10:26:06 +0200 dhaval desai, Hey1 I am saving the file as .php3 extension not as .htm/.html Can u tell me what should I do to change the line. What Rasmus is saying is that you should change the line print("$rk is Ramesh\n"); to print("$rk is Ramesh<br>"); The '<br>' tag is what you use in HTML to get a newline and has nothing to do with whether the file is saved with a .php3 or .html extension. -- Øyvind Grønnesby "Wow, I had knowledge!" --Buffy________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com