RSS

Tag Archive | "for loop"

Basic Shopping Cart System

Saturday, January 23, 2010

3 Comments

NOTE: This is a tutorial on creating a basic shopping cart system and giving an idea on how to create the basic functions of a shopping cart system and does not explain the securing of user input or checking whether the added products ‘exist’ as that all depend on what products you offer and so [...]

Continue reading...

Generate Random Passwords

Thursday, January 21, 2010

2 Comments

For generating passwords multiple methods can be used. In this tutorial we’ll be discussing 2 ways to generate random passwords. The result of both methods is exactly the same. Although method 1 is based on generating random indexes and picking another (random) index’s value each time when adding a new random character to the random [...]

Continue reading...

For Loop

Saturday, January 16, 2010

0 Comments

Then we’ve got the for loop. This loop is in some point of view kind of smilar to the while loop as it as well repeats a certain code several times. Though, the for loop requires a variable to be set, an increment value (or decrement) and a condition, as argruments of the loop. A [...]

Continue reading...

PHVsPjwvdWw+