chetans9 / core-php-admin-panel

An Admin panel written in core php with CRUD, filters and pagination.
http://freecs9.epizy.com/core-php-admin
283 stars 141 forks source link

View record #36

Open Vellimack opened 3 years ago

Vellimack commented 3 years ago

Hi there,

In the edit_customers.php file there is the following line: ($operation == 'edit') ? $edit = true : $edit = false;

Can a new operation be added to view records as well?

Then in the customers.php file the following could be added: <a href="edit_customer.php?customer_id=<?php echo $row['id']; ?>&operation=view" class="btn btn-info"><i class="glyphicon glyphicon-eye-open"></i></a>

Is this possible?

Thanks