Jump to content

[SOLVED] what does this sentence mean?


j007ha

Recommended Posts

this is a tertiary statement

 

it's like an inline IF statement

 

(condition) ? (what to show if true) : (what to show if false)

 

so your sentence means

 

if the width is greater than the height then $ref = the width

else $ref = the height

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.