Jump to content

[SOLVED] Can anyone tell me what this expression means?


ted_chou12

Recommended Posts

$username = isset($_POST["username"])?$_POST["username"]:"";

This is a piece of code from a script I have found, but I dont understand what this means, I tried searching it in manual, however, only found about the isset() not the ?:"" parts, can anyone kindly explain to me what the code means?

 

Thanks

Ted

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.