please explain me how can i write html tag and use php variable in the same line for example:-
$strState .= '<option value = "'.$record['state_id'].'" '.$strSelected. ' >'.$record['state_name'].'</option>';
<option > is a html tag
$record is a php variable
please explain me how use '' and "" quotes here
$strState .= '<option value = "'.$record['state_id'].'" '.$strSelected. ' >'.$record['state_name'].'</option>';
<option > is a html tag
$record is a php variable
please explain me how use '' and "" quotes here
Comment