SyntaxFix
Write A Post
Hire A Developer
Questions
$r = array("arr1","arr2");
to echo a single array element you should write:
echo $r[0]; echo $r[1];
output would be: arr1 arr2
arr1 arr2