tiy Posted May 24, 2006 Report Share Posted May 24, 2006 Vai var ar return atgriezt tekstu? function sum () { $a=2; $b=3; $sum=$a+$b; echo $sum; retrun 'summa bija izrekinata'; //kaut ka ta var izdarit } ps. kada atshkiriba ir starp <table border='5'> <table border="5"> ' un " no ka tas ir atkarigs Link to comment Share on other sites More sharing options...
Kavacky Posted May 24, 2006 Report Share Posted May 24, 2006 Un vai var to funkciju, kuru tu piemēram parādīji, apaudzēt ar vēl vienu rindiņu garu kodu, lai pats konstatētu - var vai nevar? A tas pēdējais bija aprunāts kaut kur te. Link to comment Share on other sites More sharing options...
Delfins Posted May 24, 2006 Report Share Posted May 24, 2006 Vai var ar return atgriezt tekstu? RTFM, function basics... Link to comment Share on other sites More sharing options...
Recommended Posts