use of string in php


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">
<html xmlns="">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>use of string in php</title>

 <h3>use of string in php example</h3>
  echo "I am a simple string.<br>";
  echo 'I am a simple string too.<br>';
  | it doesnot matter whether you use single or double
  | quote to express string

  $string = 'I am a simple string hold by a variable';
  echo $string;
  echo "<br>";

No comments:

Post a Comment

leave your comments here..