Klez Posted January 14, 2005 Report Share Posted January 14, 2005 taatad ... function valFROMtable($ko,$table,$kas,$val){ $all = mysql_query("SELECT $ko FROMT $table WHERE $kas = '$val'"); $one = mysql_fetch_array($all); return $one[$ko]; dbFree($all); } jautājums tāds: funkcija savu darbu turpina aiz return? vai izpildiisies dbFree($all); Link to comment Share on other sites More sharing options...
bubu Posted January 14, 2005 Report Share Posted January 14, 2005 Neizpildīsies. return uzreiz atgriež vadību atpakaļ no funkcijas. Link to comment Share on other sites More sharing options...
Recommended Posts