Hello! One thing you will hear everywhere you go as a coder is code reuse – the idea that if someone has already written some code that you need, you might want to consider using it instead of spending so much time writing from scratch. You could choose to repeat the process but your boss might not like it very much!
Hi! I am back from a serious headache and today am going to talk about regular expressions. The idea is to validate data submitted by the users of our online store. This will help us stop taking in invalid emails, or stuff like that. Also, using a new page created for feedback submission, we would like to send the message to respective departments depending on which Â words our customers mention in their messages. Let us get started.
Here is my feedback page:
Hello! Today, I want to use arrays to improve our shopping cart and find out more about them as we go a long! This post is going to be split into two: Part 1 and 2. You want read them in parts or in full. There are basically two types of arrays in PHP: numerically indexed arrays – where indices start at zero by default and non-numerically indexed arrays – where the keys can be set to whatever you deem meaningful. Let us start with numerically indexed arrays:
This is a preview of
Putting Arrays To Work – Shopping Cart (php)
. Read the full post (1765 words, estimated 7:04 mins reading time)
Hi! I know you are probably asking what the heck is he doing? I will be honest here, this is not a tutorial but a simple quick fix to a problem I faced last night. I was invited by an author to take part in the so called blog hopping. One of the requirements was to find at least five other authors with blogs to join the adventure. So, I asked myself, how could I make this as much fun as possible and learn something at the same time?
This is a preview of
A simple python script to find bloggers on twitter
. Read the full post (820 words, 1 image, estimated 3:17 mins reading time)
#make a simple dictionary/hash, add some items to it
#experiment on retrieving them by key and by value
#dictionaries are mutable