Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php multiple line string

//use EOD function for multiple line variable
$variable=<<<EOD
  this is line1
  this is line2
  EOD;
 
PREVIOUS NEXT
Tagged: #php #multiple #line #string
ADD COMMENT
Topic
Name
5+5 =