I am creating a nice lib for all my functions in order to keep the code apart, I am doing simple queries and it works fine but I do not know how to insert form fields into a DB once the user submits the form, how do i send $name $phone to an outside function like login(). I don“t know if u understand what I am asking.