Using PHP IF and SQL
View Single Post
10-08-2012, 04:48 AM
Join Date: Sep 2002
Location: Saskatoon, Saskatchewan
Thanked 2,598 Times in 2,567 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