Sign in to follow this  
Followers 0
unknown12

If... how?

4 posts in this topic

how would i do this in autoit? (this is PHP)

<?php
if ($result != "0") {
script
}
?>

thanks.

Share this post


Link to post
Share on other sites



I think:

If $result NOT = 0 Then
   ;Stuff here
EndIf

But I've never coded PHP...


FootbaG

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
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

Share this post


Link to post
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
Sign in to follow this  
Followers 0