Answers for "add multiple line html in a php variable"

PHP
6

php multiple line string

//use EOD function for multiple line variable
$variable=<<<EOD
  this is line1
  this is line2
  EOD;
Posted by: Guest on June-09-2020
0

define multiple variables in one line php

$foo = $bar = $ping = $pong = '';
Posted by: Guest on November-29-2020

Browse Popular Code Answers by Language