PHP Tutorial : Validate email address – simple way with filter_var() function
Jul 26, 2009 Useful PHP
While browsing php.net without any scope I discovered a very cute & nice way to replace the usual regular expression email checking thing.
That way is via filter_var() php function which does the things 10 times faster :
<?php
$email = “someone@example.com”;
if (!filter_var($email, FILTER_VALIDATE_EMAIL)) {
echo “Invalid email address”;
}
?>
Read PHP Tutorial : Validate email address – simple way with filter_var() function »
PHP Tutorials : Rename a mysql table
Jul 15, 2009 Php & MySQL
If you want to rename a mysql table via php you just need an extremely simple query like the following one:
<?php
//include db credentials
mysql_query(“rename table TheOldName to TheNewName”);
?>
Read PHP Tutorials : Rename a mysql table »
Tags: mysql rename table, php rename mysql table, rename database table, rename mysql table, rename table
Seo Tips & Tricks : Get indexed in google very fast
Jul 14, 2009 Seo Tips & Tricks
I’ve heard this question too many times to stay without telling this amazing unique seo trick / tip.
You may know that doing social bookmarking, forum posting, getting an article to a popular blog, etc. will help getting indexed faster in google.
But, pay attention, no other trick than opening an adwords campaign with your site will…………….
Read Seo Tips & Tricks : Get indexed in google very fast »
Tags: Get indexed in google very fast, get into google, getting into google's cache fast, seo tip, seo trick, unique seo trick

