PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
I have a code that checks if the verification number matches the number in the database, i now have trouble changing the value of the "active" field in the table from 0 to 1,
So, i need a line of code that will change the value of the field "Active" to 1 (table name is users, database name TESTBASE) for the user specified in the cookie ( i know how to extract this)