Handling international characters in PHP

In Tutorials

If you need to handle international characters in PHP, the “PHP The Right Way” says to do something like this … The mb_internal_encoding(‘UTF-8′) function tells PHP to...

read more

Why We Need Meta charset utf-8 tag?

In Tutorials

In the basic HTML5 page explained here, we have an meta utf-8 tag … This tag tells the browser to render using the UTF-8 character set?  UTF-8 is capable of encoding all possible characters in...

read more

Deleting WordPress Themes from Dashboard

In Tutorials

If there are unused WordPress themes that you want deleted, you can delete them from the WordPress dashboard.  But it is not obvious.  Sure, you can also delete the theme by deleting the theme...

read more

Simple Example of ng-view in AngularJS

In Tutorials

When you are first trying to learn ng-view in AngularJS, you find a lot of examples on the web.  But they all look too complex.  That is because ng-view and AngularJS routes work together and they...

read more

Adding a Multilingual Page in WordPress

In Tutorials

In this example, suppose you have an English site and want to add Chinese version for each of the site pages.  WPML plugin is highly recommended (see notes here). After installing and configuring...

read more

Updating Javascript Alerts to SweetAlert

In Tutorials

Are you still using Javascript alerts on your webpage?  Like this … That was common a decade ago.  Now they make the web application look dated.  Sure you can build fancy modal dialogs and...

read more

How to Reset WordPress User Password

In Tutorials

There are a few ways to reset a WordPress user’s forgotten password.  As admin, you can log into the WordPress dashboard and go to Users settings.  The user can click the forgot password link...

read more

How To Remove WordPress User ID 1

In Tutorials

The WordPress admin user that is automatically created for you when you first install WordPress is known as WordPress user with id of 1.  This is because in the _users database table, the record id...

read more

Javascript Syntax for Immediately-Invoked Function Expression (IIFE)

In Tutorials

In Javascript, the syntax for an Immediately-Invoked Function Expression (IIFE) looks like this … This just runs two line of Javascript to display “Hi World” to the browser...

read more

Learn Web Tutorials is hosted by Hostmonster and design based on Wordpress template by Elegant Themes
All contents are opinions and are copyrighted and may contain display ads and ad links for which site may receive revenues from.
See Terms of Use and Privacy Policy.