Page 25 of 58

How to show loading on form submission using jQuery

Last updated on January 10th, 2023 at 12:21 pmSimple script whicg uses jquery and ajax to submit form values from a basic HTML to a php server side script using jquery.ajax(),For that we need to create HTML web page with a simple login form HTML Form The div tag has a message stating “Loading Please […]

How to create pagination using PHP and MySQL

Last updated on November 6th, 2024 at 12:19 pmIt is advisable to implement pagination when displaying MySQL query results, rather than presenting all results on a single page. This approach enhances user experience by allowing for easier navigation and comprehension of the data. Additionally, pagination reduces the load on the MySQL server. The script I […]

Check if bash array contains a value

Last updated on August 27th, 2024 at 01:16 pmAn array is like a list of elements, you can refer to specific elements in an array with indices. For instance myarray[i] refers to the i th element in an array named myarray. Here i am using korn shell. We can use the below shell script in […]

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 […]

« Older posts Newer posts »