Search This Blog

array() in php

<?php

$food=array("pizza","rice");

echo "$food[0]".'<br>';

echo "$food[1]";

?>

output :

pizza
rice

Share Links

Related Posts Plugin for WordPress, Blogger...