Thread
:
Select second column if first is null
View Single Post
Author
Message
skz
Senior Member
Join Date: Jul 2014
Location: Portugal
05-26-2016 , 16:24 Select second column if first is null
#
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
View Public Profile
Send a private message to skz
Visit skz's homepage!
Find More Posts by skz