Simple PHP Loop
for ( $counter = 1; $counter <= 10; $counter += 1) { }
TextSnippets > glerb > php
2812 users tagging and storing useful source code snippets
Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world (or not, you can keep them private!)
for ( $counter = 1; $counter <= 10; $counter += 1) { }
function valid_email($email) { if( eregi("^[_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)*(\.[a-z]{2,3})$", $email) ) { return true; } else { return false; } }