Gossamer Forum
Home : General : Internet Technologies :

What do you use to replace NOT in php?

Quote Reply
What do you use to replace NOT in php?
in visual basic you can have

if NOT isnumeric("sss") then do this

how do you do this in php? it doesnt like the word NOT. this dont work

if(NOT is_numeric("sss")){ do this }
Quote Reply
Re: [WoSkI] What do you use to replace NOT in php? In reply to
Try:

if(!is_numeric("sss")) { do this }

Fractured Atlas :: Liberate the Artist
Services: Healthcare, Fiscal Sponsorship, Marketing, Education, The Emerging Artists Fund
Quote Reply
Re: [hennagaijin] What do you use to replace NOT in php? In reply to
of course, im an idiot, forgot about that one, thanks. I guess i better get used to forgetting shit trying to code in 4 languages at the same time on 3 different projects.