Forum Moderators: coopster
if ( $host[$i][detail1stuff]!= "" ){
some_code_here;
}
if ( $host[$i][detail2stuff]!= "" ){
some_code_here;
}
etc...
I want to do something like this:
for ($count = 1; $count <= 100; $count++ ){
if ( $host[$i][details{$count}stuff]!= "" ){
some_code_here;
}
}
However, the above doesn't work.
Does anyone know how to do this?
Thanks.
Notice: Use of undefined constant details - assumed 'details' in ...