To get Structured data using print_r statement

  • 0

To get structured data while printing a variable in php, first print a “pre” statement: Then print variable.
echo “<pre>”;
print_r($var);

To get structured data while printing a variable in php, first print a “pre” statement: Then print variable. echo “<pre>”; print_r($var);

To get structured data while printing a variable in php, first print a “pre” statement: Then print variable. echo “<pre>”; print_r($var);