View Single Post
Old 10-08-2012, 01:39 AM   PM User | #1
Vernk
Regular Coder

 
Join Date: Oct 2011
Posts: 113
Thanks: 9
Thanked 1 Time in 1 Post
Vernk is an unknown quantity at this point
Using PHP IF and SQL

Hello , I am trying to achieve something like this :
PHP Code:
cornjob.php

<?php
mysql_query
("SELECT * FROM userinfo WHERE IF timeleft = 0 THEN SET plan=0");

?>
How can I do something like this with PHP or SQL?
Vernk is offline   Reply With Quote