Can I use multiple if else in this format?
$data->frm_status==1? "Incomplete" :"other"
I have tried with different ways . like this
$data->frm_status==1? "Incomplete" $data->frm_status==2 ?"Analysis Done":"other"
$data->frm_status==1? "Incomplete" ? $data->frm_status==2 ?"Analysis Done":"other"
This is the error. I am unable to search this on google because I don't know the name for this syntax.
although i know i can use this
if()
{
//
}else if()
{
//
}else
{
//
}