![]() |
kujox 2/8/2008 |
I've read all through the forum and help files and tried this 20 different ways and I'm just not getting something right. Hard to explain the situation, but I am changing a user from admin "default" to admin "locked" when they view a certain page... so, the event on that page load has this code... so, if they are currently logged in as account_ID #3 and they hit this page then in tbl2008Account it should change from account_ID 3 - admin level "default" to admin level "locked" global $conn; $strUpdate = "update tbl2008Account set admin='locked' where account_ID = 'account_ID'"; db_exec($strUpdate,$conn);
|
W
|
wfcentral author 2/8/2008 |
I want to lock their account if they view a certain page. So do you want to lock their account if they view a certain page or do you want them to view the page only once? |