Skip to content
August 20, 2026
  • Turning Your Website into a Fully Functional and Secure Android and iOS Application
  • Securing Your CodeIgniter Application Against SQL Attacks
  • Creating a Web Application Installer with PHP PDO, MySQL, JavaScript, and Bootstrap
  • Create a fun card game in Python

Dan O'Riordan

Web Application Developer

  • Home
  • PHP
  • Codeigniter
  • HTML
  • Javascript
  • Visual Basic
  • C#
  • C++
  • CSS
  • Python
Codes
  • Turn website into mobile application

    Turning Your Website into a Fully Functional and Secure Android and iOS Application

    1 year ago
  • Securing Your CodeIgniter Application Against SQL Attacks

    1 year ago
  • Application Installer

    Creating a Web Application Installer with PHP PDO, MySQL, JavaScript, and Bootstrap

    2 years ago
  • Create a fun card game in Python

    2 years ago2 years ago
  • Wordpress

    Criteria for Creating a WordPress Plugin Using PHP 8

    2 years ago
  • 10 Unique Web Application Ideas & How to Build Them Without Losing Your Sanity

    2 years ago2 years ago
  • Home
  • mysql

mysql

  • PHP

Get total count of blog posts using MySQLi Prepared Statements

Danno2 years ago2 years ago04 mins

In this post, we will create a PHP script that connects to a MySQL database and retrieves the total number of blog posts from a specified table. We will utilize MySQLi prepared statements to ensure secure and efficient database interactions. In the provided PHP script, we follow a structured approach to connect to a MySQL…

Learn More...
Admin Photo

Hi, I am Dan. I’ve been designing web applications—on and off—since 2001, back when animated GIFs were all the rage and ‘responsive design’ meant answering your client’s emails. Over the past 14 years, I’ve kept pace with the ever-evolving trends in PHP development, successfully delivering a variety of projects that made my clients happy (and kept me caffeinated). This website serves as my soapbox—a place to share the insights I’ve picked up along the way with anyone curious enough to dive in. Welcome aboard! Want some custom work done? Pop me an email.

Email: dan@danoriordan.com

Recent Posts

  • Turning Your Website into a Fully Functional and Secure Android and iOS Application
  • Securing Your CodeIgniter Application Against SQL Attacks
  • Creating a Web Application Installer with PHP PDO, MySQL, JavaScript, and Bootstrap
  • Create a fun card game in Python
  • Criteria for Creating a WordPress Plugin Using PHP 8

Recent Comments

  1. infiniti-salon.com on Secure Login using MySQLi

Archives

  • February 2025
  • January 2025
  • December 2024
  • November 2024
  • October 2024

Categories

  • C#
  • C++
  • Codeigniter
  • CSS
  • Development
  • HTML
  • Javascript
  • PHP
  • Python
  • Visual Basic