Menu
hi,
I have problem with option as always is giving me NULL value.
btw this new forum is rubbish as I can send my script for debug.
‘[+Mr+]’ => ($form->title == ‘Mr’) ? (‘selected’):”,
‘[+Mrs+]’ => ($form->title == ‘Mrs’) ? (‘selected’):”,
‘[+Miss+]’ => ($form->title == ‘Miss’) ? (‘selected’):”,
‘[+Ms+]’ => ($form->title == ‘Ms’) ? (‘selected’):”,
I use to had echo (‘selected’) in my ternary condition but it always giving me parse error echo T_cho
title is variable that it should be set in the class.