zero-perfoliate
zero-perfoliate

Author Topic: PHP/MYSQL make row inactive  (Read 679 times)

Offline justinede

  • New PHP Members
  • Posts: 2
  • Karma: +0/-0
PHP/MYSQL make row inactive
« on: June 08, 2008, 04:13:00 PM »
im running a membership system and i need some help. How would i make a mysql database row inactive. Or like before a session is started it checks a row named active. If a 0 is in active then the user is disabled. If it has a 1, then the user is active.

What would be even cooler is if i had a field with a date and if today was that date then then a 0 would go into the active row.

Thanks for your help in advance.

-Justin

 

zero-perfoliate