I'm working on my project for my school, I made activating a user account work, if the admin want to activate one user at a time, but whenever the admin wants to update multiple record at once, it won't work I tried to include the update SQL inside a foreach loop, but it gave me an error: invalid argument for foreach() pleas guys help me, I'm working on my project for my school, I made