Td escaping issue |
I guys please who can help with this issue?
when loads the view it displays me error. the td tag does not me allow adding these 2 options <?php foreach($resourse as $res): ?> <tr> <td><?=$res['id']?></td> <td><?=$res['name']?></td> <td><a href="<?= base_url("users/edit/".$res['id']); ?>" class="btn btn-outline-success glyphicon glyphicon-pencil" ></a> <a href="<?= base_url("users/delete/".$res['id']); ?>" onclick="return confirm('do you want to delete ?')" class="btn btn-outline-danger glyphicon glyphicon-remove"></a></td> </tr> <?php endforeach; ?>
Use the CodeIgniter 4 table class.
CodeIgniter 4 User Guide - HTML Table Class What did you Try? What did you Get? What did you Expect?
Joined CodeIgniter Community 2009. ( Skype: insitfx )
(06-14-2021, 01:51 AM)InsiteFX Wrote: Use the CodeIgniter 4 table class. Im using the 3.1.11 version
The CodeIgniter 3 has the same type of table class it's in the Users Guide.
What did you Try? What did you Get? What did you Expect?
Joined CodeIgniter Community 2009. ( Skype: insitfx )
|
Welcome Guest, Not a member yet? Register Sign In |