Foloseste global.
http://ro.php.net/language.variables.scope
--- Paul Dorneanu <[EMAIL PROTECTED]> wrote:
> de ce nu ar merge?
>
> Remus Anca wrote:
>
> >
> >
> >>>merge asa ceva in php:
> >>>
> >>>function afisare(id,lista){
> >>> $rez=mysql_query("SELECT master,slave FROM
> table WHERE master=id");
> >>> while($arr=mysql_fetch_row($rez)){
> >>> echo $arr[1];
> >>> if ($arr[1] e in lista)
> afisare($arr[1],lista);
> >>> }
> >>>}
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>
> >DCIB> Da merje. Numa pune niste $ pe unde trebe; (
> pe la parametrii functiei,
> >DCIB> mysql_query ....)
> >aia'i clar, pe mine ma interesa principial
> >
> >thx
> >
> >
> >
>
> ---
> Detalii despre listele noastre de mail:
> http://www.lug.ro/
>
>
>
_______________________________
Do you Yahoo!?
Express yourself with Y! Messenger! Free. Download now.
http://messenger.yahoo.com
---
Detalii despre listele noastre de mail: http://www.lug.ro/