Using PHP IF and SQL
View Single Post
10-08-2012, 03:48 AM
Join Date: Sep 2002
Location: Saskatoon, Saskatchewan
Thanked 2,450 Times in 2,419 Posts
You mean like an update query?
UPDATE userinfo SET plan = 0 WHERE timeleft = 0
SQL has its own if/else handling, look into the
syntax. Much like a switch really.
View Public Profile
Find More Posts by Fou-Lu