In my PHP application, I have a web page that says "New Leads: 0" The "0" is the result of a SQL statement.
My goal is to add Ajax code so the "0" updates dynamically, without having to refresh the page. When the number of rows increases in the database, I want the "New Leads: 0" to automatically increase.
My question is can you point me in the right direction of how I can code this?