Saturday, March 30, 2013

About PHP / MySQL: Easter Date with PHP

If you can't see this email, click here

About

PHP / MySQL

PHP Basics

MySQL Basics

Advanced Skills



From Angela Bradley, your Guide to PHP / MySQL
Hello PHP Programmers!
Did you know that the date of Easter varies every year, and you can use PHP to determine when it is? This is handy when you are creating a calendar app and want to mark major holidays.
Have a great week!

Easter_date () PHP Function
Because Easter always falls on a Sunday, its numeric date changes every year. If we need to dynamically mark this on the calendar, we can use the easter_date () function. This function returns the timestamp for easter of a given year, or if no year is specified, the date of easter in the current year is returned. It is written as: easter_date (optional_year) ;
Search Related Topics:  php calendars  finding dates in php  php functions







 


Related Searches
Featured Articles

 

More from About.com

10 Easy Ways to Look Thinner
Don't wait until you've lost those first pounds to make these simple, slimming changes. Read more...>



Create a Shared Photo Stream
Sharing your photo stream with friends and family is a great way to keep in touch. Read more...>




This newsletter is written by:
Angela Bradley
PHP / MySQL Guide
Email Me | My Blog | My Forum
 
Sign up for more free newsletters on your favorite topics
You are receiving this newsletter because you subscribed to the About.com PHP / MySQL newsletter. If you wish to change your email address or unsubscribe, please click here.

About.com respects your privacy: Our Privacy Policy

Contact Information:
1500 Broadway, 6th Floor
New York, NY, 10036

© 2012 About.com
 


Must Reads
Learn PHP
Using PHP with MySQL
Learn MySQL
Create Email Forms
PHP Login Script
 
Follow me on:
Facebook Twitter

Advertisement

Wednesday, March 27, 2013

About PHP / MySQL: Troubleshooting Tips

If you can't see this email, click here

About

PHP / MySQL

PHP Basics

MySQL Basics

Advanced Skills



From Angela Bradley, your Guide to PHP / MySQL
Hello PHP Programmers!
Ever run into a probably you just keep bashing your head against? Try our troubleshooting tips to help you find the errors in your code sooner.
Have a great week!

Troubleshooting Tips
It is very frustrating when your code doesn't work, especially if you have no idea where to look for the problem.  Although you can never completely remove the frustration of... Read more

The crypt function
The Crypt () PHP function is used to encrypt a string.  The most obvious use for this is to encrypt passwords.  You then only store the encrypted version of the... Read more

Variations of Pi
Pi is used in a lot of mathematical calculations.  There are also some often used variations of pi, such as one over pi or half pi, that are also used... Read more

Programing Glossary
Learn about general programing terms, internet terms, PHP terms and MySQL related terminology.

 


Related Searches
Featured Articles
Reader Response
Social Networking with PHP @ About.com
Learn PHP
Learn MySQL
Advanced PHP
PHP with MySQL

 

More from About.com

10 Easy Ways to Look Thinner
Don't wait until you've lost those first pounds to make these simple, slimming changes. Read more...>



Create a Shared Photo Stream
Sharing your photo stream with friends and family is a great way to keep in touch. Read more...>




This newsletter is written by:
Angela Bradley
PHP / MySQL Guide
Email Me | My Blog | My Forum
 
Sign up for more free newsletters on your favorite topics
You are receiving this newsletter because you subscribed to the About.com PHP / MySQL newsletter. If you wish to change your email address or unsubscribe, please click here.

About.com respects your privacy: Our Privacy Policy

Contact Information:
1500 Broadway, 6th Floor
New York, NY, 10036

© 2012 About.com
 


Must Reads
Learn PHP
Using PHP with MySQL
Learn MySQL
Create Email Forms
PHP Login Script
 
Follow me on:
Facebook Twitter

Advertisement

Wednesday, March 20, 2013

About PHP / MySQL: The crypt function

If you can't see this email, click here

About

PHP / MySQL

PHP Basics

MySQL Basics

Advanced Skills



From Angela Bradley, your Guide to PHP / MySQL
Hello PHP Programmers

This week we will take a look at the crypt function. We also look at variations of Pi.

Have a great week!


The crypt function
The Crypt () PHP function is used to encrypt a string.  The most obvious use for this is to encrypt passwords.  You then only store the encrypted version of the... Read more

Variations of Pi
Pi is used in a lot of mathematical calculations.  There are also some often used variations of pi, such as one over pi or half pi, that are also used... Read more

What is a script tag?
You already know that you can start a PHP file with ... Read more

Step By Steps
These tutorials will show you step-by-step how to create many usable applications for your website. These programs are all fully functional and ready to use right away on your website. All the code is presented to you and then explained so you can both use it and understand it.

 


Related Searches
Featured Articles
PHP Functions
MySQL Commands
Security for PHP and MySQL
PHP and MySQL Basics
Tools and Resources
Troubleshooting

 

More from About.com

10 Easy Ways to Look Thinner
Don't wait until you've lost those first pounds to make these simple, slimming changes. Read more...>



Create a Shared Photo Stream
Sharing your photo stream with friends and family is a great way to keep in touch. Read more...>




This newsletter is written by:
Angela Bradley
PHP / MySQL Guide
Email Me | My Blog | My Forum
 
Sign up for more free newsletters on your favorite topics
You are receiving this newsletter because you subscribed to the About.com PHP / MySQL newsletter. If you wish to change your email address or unsubscribe, please click here.

About.com respects your privacy: Our Privacy Policy

Contact Information:
1500 Broadway, 6th Floor
New York, NY, 10036

© 2012 About.com
 


Must Reads
Learn PHP
Using PHP with MySQL
Learn MySQL
Create Email Forms
PHP Login Script
 
Follow me on:
Facebook Twitter

Advertisement