Skip to content

Chart to your URL Shortener with Statistics.

Hello

I decided to implement a Chart vision of the access to a address of the last 30 days. THe system that I choosed is Open Flash Chart.

The new methods:
getAccess($id) – Return an Associative Array with the access by date and the total
formatData($data) – Receive the access of getAccess and transform it in a Numeric Array.
criarLabels() – Create the labels to the bottom part of the chart.

If you want to access it, you have to manually get the ID and use http://www.example.com/diretorio/chart.php?id=ID where ID is UID from the MySQL table.

Example:

URL Shortener with Statistics and Chart.

Creating your own Url shortener
Statistics on your URL Shortener

Best Regards,
Matheus

PS: Don’t forget the Rewrite Rules.

Published inMySQLphp

1,105 Comments

  1. Danielneemn Danielneemn

    Этот информативный текст сочетает в себе темы здоровья и зависимости. Мы обсудим, как хронические заболевания могут усугубить зависимости и наоборот, как зависимость может влиять на общее состояние здоровья. Читатели получат представление о комплексном подходе к лечению как физического, так и психического состояния.
    Откройте для себя больше – клиника плюс

  2. LFA 235 approaches with that precise brand of explosive intensity, presenting a MMA card wherein ballyhooed billing are destined to crash headfirst into tactical reality.

  3. Jasonthoug Jasonthoug

    В этой медицинской статье мы погрузимся в актуальные вопросы здравоохранения и лечения заболеваний. Читатели узнают о современных подходах, методах диагностики и новых открытий в научных исследованиях. Наша цель — донести важную информацию и повысить уровень осведомленности о здоровье.
    Узнай первым! – Наркологическая клиника в Твери

  4. http://leaderdetonmarche.com/
    L’equipe Leaderdetonmarche se positionne comme une entreprise professionnelle implantee sur le public en France, qui delivre une approche complete a ceux qui recherchent des resultats, en priorisant sur l’attention personnalisee. En savoir plus via le lien.

Leave a Reply

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