RE: [PHP] Calling a funtion inside a function

2001-01-10 Thread O.Cook
smime.p7m

RE: [PHP] Calling a funtion inside a function

2001-01-10 Thread Moritz Petersen
> $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