Klez Posted January 14, 2005 Report 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);
bubu Posted January 14, 2005 Report Posted January 14, 2005 Neizpildīsies. return uzreiz atgriež vadību atpakaļ no funkcijas.
Recommended Posts