Jump to content

Variable if not?


 Share

Recommended Posts

Ive got a variable like so

$key = 12345678

I need to find if the variable is wrong,so I thought

if not $key = 12345678 then exit

but that doesnt work

Whats the best way to go about this??

regards bluerein

Please post in right forum. Here is Example forum.

The answer:

If $key <> 12345678 Then Exit

When the words fail... music speaks.

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...