I have:
$title1 = "aaa1";
$body1 = "bbb1";
$author1 = "ccc1";
$title2 = "aaa2";
$body2 = "bbb2";
$author2 = "ccc2";
$title3 = "aaa3";
$body3 = "bbb3";
$author3 = "ccc3";
How can i assign these variables to array? Next i would like make:
foreach($array as $a){
$a[title] . $a['body']. $a['author'] . "<br />";
}
and this should show me:
aaa1bbb1ccc1
aaa2bbb2ccc2
aaa3bbb3ccc3
or use list to create the array