Any thing you declare in an included file will be available to the parent script from the point of include. In your case, i would create a...
Just a little feedback from me:- You're not filtering any input from users which means SQL injections are easy I would declare your DB connection...
Separate names with a comma.