I'm trying to replace characters between two string/s with below code:
<tr <?php echo "class = 'link_id_$row->link_id key_id_$row->key_id'";?>>
<td>
<?php echo form_input('target_keyword', $row->key_name,
"class = 'link_id_$row->link_id key_id_$row->key_id validate[required] edit_keyword' id='target_links_$row->key_id'");
?>
<?php echo form_hidden('client_id', $client_id);?>
</td>
<td>
<?php echo form_dropdown('target_links', $links_data, $row->link_id,
'class="target_urls validate[required]" id="target_links_$row->key_id"');
?>
</td>
<td class="center">
<?php echo "<input type='hidden' value='$row->key_id' class='key_id'/>"; ?>
<?php echo "<input type='hidden' value='$row->link_id' class='link_id'/>"; ?>
<?php echo form_submit('edit_keyword', '', 'id="edit_keyword" class="edit"');?>
<?php echo form_submit('delete_keyword', '', 'id="delete_keyword" class="delete"');?>
</td>
</tr>
Is there a way we can replace anything in between "row" and "'" ?