I have more than 50 string. I need to put those string into one array. I try to use loop to create it. however I have trouble on auto increment var's name. $string.$s
($string1, $string2
). It will become Undefined variable, Any way to change var's name?
$string0="ABC";
$string1="DEF";
$string2="GHI";
...
$data=array($string0, $string1, $string2...);
for($s=0; $s<50; $s++){
$data[$s]=$string.$s;
}