Destramic Posted July 10, 2011 Share Posted July 10, 2011 im having a problem with executing this query if anyone can help me please SET @rank := 0; SET @points := 0; SET @drawing := 0; @rank := IF(@points=points, IF(@points = '0', @rank + 1, @rank), @rank+1), @points := points, @drawing := IF(@points=points, IF(@points = '0', @drawing = '0', @drawing = '1'), @drawing = '0'), IF(@drawing = '1', @rank + 1, @rank) as rank, @drawing := 0; Link to comment https://forums.phpfreaks.com/topic/241576-global-vars/ Share on other sites More sharing options...
fenway Posted July 12, 2011 Share Posted July 12, 2011 What kind of "problem"? Link to comment https://forums.phpfreaks.com/topic/241576-global-vars/#findComment-1241781 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.