Monthly Archives: March 2014

The CSS Box Model

Posted By: Ian on Mar 04, 2014 in CSS, Snippets
Last modified on January 29th, 2015 at 9:31 pm,

The Box Model Margin Box Border Box Padding Box Element Box All elements are essentially boxes and these boxes enable us to be precise when placing our elements relative to others on our page. REMEMBER! When setting height and width in CSS you MUST take into account the padding, border and margin to get the …

Continue Reading »

Validate URL and Email function using PHP Filters

Posted By: Ian on Mar 01, 2014 in PHP, Snippets
Last modified on January 29th, 2015 at 9:31 pm,

In PHP 5.2 filter functions come installed and enabled by default and today were going to use two of them, one to validate URLs and the other email addresses, replacing the need to use regular expressions like preg_match. For the purpose of this demonstration <?php $email = “ianjgough@aol.com”; $url = “http://ianjgough.com”;   function validate($type, $value) …

Continue Reading »

About This Site

Dreams are built from lines of code well it's true!
If you can dream it you can usually code it.

I have learned so much from other people on the Internet and this site is for me to give back some of what i have learned and hope people can now learn from me.
Have fun and surf safely,
Ian.J.Gough

protected by copyscape duplicate content check

Categories


Powered by Banner Bar 125