Code: Select all
$nameArray = array("title","author","subject","date");
$titleArray = array();
$authorArray = array();
$subjectArray = array();
$dateArray = array();
while (x<=5)
{
// lots of code here, don't need help on this //
$currentSection = "sample";
$storyArrayїx]Arrayїx] = $currentSection;
// more code //
}Did that make much sense...I just need to know if I can use an array variable value while referring to another variable. Whoops, that sounds confusing, but maybe you get my point. Thanks!