[ create a new paste ] login | about

Link: http://codepad.org/Xq8tVB3v    [ raw code | output | fork ]

PHP, pasted on Nov 4:
1
2
3
4
5
6
7
<?php

$array = array('eggs', 'bacon', 'football', 'baseball', 'ford', 'toyota'); 

$i = 2;

echo "<p>{$array[$i+1]}</p>";


Output:
1
<p>baseball</p>


Create a new paste based on this one


Comments: