Jump to content
php.lv forumi

funkcija...


Klez

Recommended Posts

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

×
×
  • Create New...