“Istirahat Garis PHP” Kode Jawaban

PHP Newline

"\r\n"
Unusual Unicorn

Baris baru di PHP

<?php
echo "Hello world this is example \r\n in php.";
echo "<br>";
echo nl2br("You will find the \n newlines in this string \r\n on the browser window.");
?>
Ankur

Istirahat Garis PHP

<?php
  
  #On some platforms, <br> is accepted, but worldwide, \n is used
  
?>
Rick Astley

PHP Line Break di Echo

echo "Thanks for your email" ."<br>". "Your orders details are below:"
red-kid

PHP Enter Line Break

The nl2br() function inserts HTML line breaks (<br> or <br />) 
in front of each newline (\n) in a string. Syntax. nl2br(string,xhtml). 
  
Abdullah al Mamun

PHP Baris Baru

//let a variable contain multiple line
//add <br> tag in string
$variable = "123 <br> ";
Warrior

Jawaban yang mirip dengan “Istirahat Garis PHP”

Pertanyaan yang mirip dengan “Istirahat Garis PHP”

Lebih banyak jawaban terkait untuk “Istirahat Garis PHP” di PHP

Jelajahi jawaban kode populer menurut bahasa

Jelajahi bahasa kode lainnya