[Php & Html]
Posted by Drake83 on 10-02-2005 15:12
Ciao a tutti!Ho un problema da porvi ke sta per farmi impazzire: io ho un file php cosi' strutturato:
<?php
function stampa()
{
istr;
istr;
stampa();

}
?>
<?
istr;
istr;
istr;
stampa();
?>

so kome far eseguire questo file ma cio' ke nn riesco a capire e' come fare per poter far scelgiere all'utente di far rikiamare stampa ricorsivamente.In sostanza io vorrei legare l'azione di un tasto (o qualcos'altro) alla funzione stampa() cosi' da comandarne l'esecuzione.avevo pensato di fare un if sul valore del bottone ma l'action รจ relativa allo stesso file .php ma io nn volgio ke l'itero file sia eseguito.voi ke dite?

grazie e scusate se sn stato poco chiaro!

ciao!
Powered by: vbHome (lite) v3.8 and vBulletin v2.3.1
Copyright © 2000 - 2002 Jelsoft Enterprises Limited