How to color background of last inserted row in PHP - Web Development
100 Views

How to color background of last inserted row in PHP

Without last_insert_id

I have colored background of last inserted row without using last_insert_id. You can do this by using LIMIT and ORDER BY of MySQL.

Php insert id , php last_insert_id

Database Structure :

id , name , address , gender , designation ,age

Now lets start with our code ,First make this databse table in your database.

In this way you can color the background of last inserted row in php

See our more articles on PHP and JAVASCRIPT

How to make sales receipt in PHP

Pagination in php

Leave a Reply

Your email address will not be published. Required fields are marked *