Using Endwhile PHP (Codeacademy)

This is quite easy:

62c57dc2758636bc30f0a3bf0e12d768000

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:

62c57dc2758636bc30f0a3bf0e12d768001

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.

62c57dc2758636bc30f0a3bf0e12d768011

The bootstrap button should look like ...


Alert and redirect javascript code

Here is a simple redirect and alert code in javascript.

62c57dc2758636bc30f0a3bf0e12d768013

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 ...