Is there a way to name the $details_0, $details_1, etc in this?
I don’t want to make it an array ie: $details[1]
for ($i = 0; $i < 5; $i++)
{
$details_$i = 1
echo $details_$i;
}
I had tried $details_{$i}