Jump to content

If... how?


Recommended Posts

I think:

If $result NOT = 0 Then
  ;Stuff here
EndIf

But I've never coded PHP...

<{POST_SNAPBACK}>

! reverses the meaning. Much like "NOT" so...yes, you are right.

Although

If $result <> 0 would be a better way.

Lofting the cyberwinds on teknoleather wings, I am...The Blue Drache

Link to comment
Share on other sites

! reverses the meaning.  Much like "NOT" so...yes, you are right.

Although

If $result <> 0 would be a better way.

<{POST_SNAPBACK}>

Thanks for the correction :)

PS,

I knew ! had something to do with NOT from my basic C++ coding skills :evil:

FootbaG
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...