Jump to content

How to Make it right? Don't know better title lol


Go to solution Solved by Subz,

Recommended Posts

Posted
10 minutes ago, Subz said:
;~ Check if $result3 is an array
;~ True = if ubound array greater greater than 1 $result3[1] otherwise $result3[0]
;~ False = -1
Global $result4 = IsArray($result3) ? (UBound($result3) > 1 ? $result3[1] : $result3[0]) : -1

 

Thank you ❤️ it works like charm

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
  • Recently Browsing   0 members

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