Can someone help me to write this correct, i am strugling. And could someone explain to me how to combine single and double quotes in best way??? I have issue in line
value = "<?php echo $client['name_'.$key];?>"
my whole code is
<?php
foreach($this->config->item('languages') as $key=>$value)
{
echo '<div id="edit-fragment-'.$key.'">
<table class="form_horizontal" width="100%">
<tr>
<td class="field">'.lang('polls_txt_title').'</td>
<td class="value"><input type="text" name="client_'.$key.'" value = "<?php echo $client['name_'.$key];?>"; /></td>
</tr>
<tr>
<td class="field">'.lang('polls_txt_vote').'</td>
<td class="value"><input type="text" name="polls_'.$key.'_vote" value="'.$this->mConfig->item('polls_'.$key.'_vote').'" /></td>
</tr>
</table>
</div>';
}
?>