If your databases are located on same MySQL server.You don’t need two connections, you can access them both as unique user. You also don’t need to select a DB. Just use the database-name as prefix when specifying the tables. That’s it. Or if you want to select database, you can do Please note there can…
If you upgraded your PHP version to PHP 5.3.x, you will get few warnings or deprecated function messages like function ereg() is deprecated in php 5.3.x. You can find the full list of functions that are deprecated by following URL Deprecated features in PHP 5.3.x ereg family functions are deprecated in PHP 5.3.0 or later,as…
String Validation Validate name, surname by the below function to restrict only letters and spaces. Validate numeric value by the below function to restrict only numbers,you can uncomment any line according to your need. Alphanumeric Characters Validation Below function validates alphanumeric characters.ctype is complete function library in PHP. Validation for URL Exist or not This…
RSS (Really Simple Syndication) or Rich Site Summary is a format of data for delivering regularly changing web content.Without RSS, users will have to check the site daily for new updates that is very time-consuming.Since RSS data is small and fast-loading, it can easily be used with services like as cell phones or PDA‘s also.…
Very easy and handy to use PHP email validation function and File type validation function/methods. Email validation Image File extension validation read out some more ready to use PHP validation functions/methods.…
PHP function to get current web page full URL & current page name. Sometimes, you might want to get the current page full URL. Here is way you can do that. Get current page name. Hope these functions will help you, leave comments if you found anything wrong or these functions is not working on…