This is a dummy question but i cant get multiple criteria in the count function.
This is what i'm trying to do:
SELECT COUNT(Name, Expansion, Foil) AS NameCheck FROM Osiris WHERE Name="$name" Expansion="$expansion" Foil="$foil"
I have Colums named:
`Name` `Color` `Type` `Subtype` `Power` `Toughness` `Manacost` `Rarity` `Expansion` `Foil` `Stock`
I want to check before i enter a new record if its not already there, by checking the Name, Expansion and Foil colum on the same record.
I think i have just messed up that code line but i cant seem to find any solution on the web.
Thanks in advance!