RE: [PHP] Calling a funtion inside a function
smime.p7m
RE: [PHP] Calling a funtion inside a function
> $c = "0"; > select($c, $id); > > > function select($c, $id) { > global $name, $db; > $sql = "select * from ref_directory where parent_id = '$id'"; > $results = pg_exec($db, $sql); > if (!$result) {printf ("ERROR"); exit;} >for ($pos=0;$pos $row = pg_fetch_array