View Single Post
Author Message
skz
Senior Member
Join Date: Jul 2014
Location: Portugal
Old 05-26-2016 , 16:24   Select second column if first is null
Reply With Quote #1

Hi guys

How can I select another column if the first one is null?

PHP Code:
WHERE IFNULL(`slotitem1`,`slotitem2`) = ('%s','%s'
I tryed this way but it doesnt work
__________________

Last edited by skz; 05-26-2016 at 16:25.
skz is offline