| Re: php question Hi
well , it has called a short form of the if condition , let me take the snippet inside the brackets
($_GET['id'])?$_GET['id']:0
So if I expand it ,
if ($_GET['id'])
{
return ($_GET['id']);
}
else
{
return 0;
}
Thanks.
Last edited by Mikey; 01-12-2010 at 06:58 PM.
Reason: removed fake sig.
|