Forum Moderators: coopster
i tried with the static $count = 0 & incremented in while() loop
but this caused problem in function call inside loop(as static variable preserves the value)
For example:
[PHP]foreach($datas as $data){
someRecursiveFunc($data['id']);//value of $count went increasing
}[/PHP]
is there any techinque so that i can check for first call?