How to format template? |
(04-24-2017, 02:44 PM)marksman Wrote: I use blade templating engine in CI, its easier. What do you mean by i can use php tags? i tried doing this in views But this only gives me an error An uncaught Exception was encountered Type: ParseError Message: syntax error, unexpected '{' Code: <td><?php number_format({total_price}); ?></td> And also something like this in controller but this returns only 1 row and i cant get all the data since its not looping Code: $clients = $this->client_list_model->getClients(); |
Messages In This Thread |
How to format template? - by PolkaDodge - 04-24-2017, 09:27 AM
RE: How to format template? - by marksman - 04-24-2017, 02:44 PM
RE: How to format template? - by PolkaDodge - 04-24-2017, 10:28 PM
RE: How to format template? - by PolkaDodge - 04-24-2017, 10:41 PM
RE: How to format template? - by marksman - 04-25-2017, 06:19 AM
RE: How to format template? - by PolkaDodge - 04-25-2017, 09:34 AM
RE: How to format template? - by marksman - 04-25-2017, 02:59 PM
RE: How to format template? - by InsiteFX - 04-28-2017, 03:52 AM
RE: How to format template? - by Gustavo Martins - 05-02-2017, 09:18 PM
|