Page 24 of 56

How to search using MySQL prepared statement and PHP

Last updated on March 7th, 2022 at 03:56 pmEnabling content search is always very important for a large website especially when you have lot of pages. I am going to explain this in both regular mysqli procedural approach and also using prepared statements. This script also count number of rows returned from the search. The […]

How to Create a Countdown Timer Before Displaying Hyperlinks

Last updated on November 7th, 2024 at 12:59 pmThis HTML and JavaScript code creates a countdown timer that counts down from a specified time (in minutes and seconds) and then shows a link once the countdown reaches zero. The countdown is displayed in the browser, and when the countdown finishes, the message changes to indicate […]

How to delete all pending comments from WordPress

Last updated on January 29th, 2022 at 11:04 amWhile checking my website today I saw around 3792 comments pending for approval. It is for sure that my website is attacked by WordPress comment spam. They will post thousands of comments spamming the entire website and if your website is having less resource then it might […]

« Older posts Newer posts »