Code: Select all
<?
$highest=0;
foreach($s_data as $sub_rec) {
list($id, $naam, $bericht) = $sub_rec;
/* $convert=1;
$id=$id*$convert;
$id=(int)$id;*/
if($$highest<$id) {
$$highest=$id; } }
?>When I try to make my expression or when I try to do +1 with the value from my 2 dimensional array it wont work or the value becomes 0+1.
I think it's because $num is a string (gettype()) but normally this shouldn't give a problem @ all.
I've searched for 2 days now, a litle help would be welcome because this time google won't help
thx for reading,
grtz