mysqli prep work