Using Endwhile PHP (Codeacademy)

This is quite easy:


Notice the small differences in syntax. It is similar with “switch” where you add endswitch; at the end, instead ...

Your First While Loop PHP (Codeacademy)

Here is a correct example:


The syntax is quite easy to remember. Also, you need to do a simulation in your mind of what the while loop will do ...

PHP Switch Syntax from Codeacademy

Here are some examples being explained.

switch can host a number or a variable.
After you write the case statement, switch will check and echo the correct case.

Something ...

Extralarge button in Bootstrap?

Here you go:

CSS, add this code in the header of your page or anywhere above the button.


The bootstrap button should look like ...

Alert and redirect javascript code

Here is a simple redirect and alert code in javascript.


It will redirect the page and before that, it will create a small pop-up (from the ...

How to set a cronjob on Hostgator?

If you have a hosting account on Hostgator, you can use cronjobs from Cpanel.

Login to your main cpanel or the cpanel of any domain you got under your main account.

Search ...