Page 30 of 58

How to remove non alphanumeric characters using PHP

Last updated on August 30th, 2022 at 04:14 pmNon-Alpha numeric characters are any which is not A-Z,a-z or 0-9. In this tutorial we will discuss on how to remove or replace non alphanumeric characters using php. We have two examples in the demo one is removing the non alphanumeric characters and the other is replacing […]

How to hide javascript errors from browser

Last updated on November 11th, 2024 at 02:04 pmTo hide JavaScript errors from the browser, you can use the function suppressJSError(). This function helps keep any JavaScript errors from appearing on the webpage, as shown in the code below. This is often used in production to hide non-critical JavaScript errors from users or to prevent […]

How to Fix div at the Top or Bottom of a Web Page (With Examples)

Last updated on May 8th, 2025 at 08:13 amWant to stick a header at the top or a footer at the bottom of your page that stays put while scrolling? Here’s a beginner-friendly guide to doing just that using CSS. Goal Fix a div so that it always remains: Method 1: Use position: fixed This […]

How to redirect web page using Perl

Last updated on November 11th, 2024 at 02:12 pmWebsites sometimes need to send users to different places. For instance, in a Perl application, after a user logs in, if they are part of a certain group, they can be directed to the appropriate dashboard using Perl’s features. Here is the code. Shebang Line #!/usr/bin/perl: Variable […]

« Older posts Newer posts »