Phpmysqltalk - phpmysqltalk.com - PHP MySQL Talk

Latest News:

Htaccess: how to force “www.” in a generic way? 28 Apr 2013 | 03:56 am

This works on any domain RewriteCond %{HTTP_HOST} !^$ R [...]

MySQL: truncate foreign key constrained table 28 Apr 2013 | 03:37 am

SET FOREIGN_KEY_CHECKS=0; TRUNCATE table1; TRUNCATE tab [...]

PHP: CHMOD a directory recursively 28 Apr 2013 | 03:32 am

The script below loops over the specified directory and [...]

Magento: Move a category programmatically 9 Apr 2013 | 12:20 am

It turns out that Magento has some really convenient functions already made at its core, which i don’t know about and this is one of them. Mage category model object includes move() function, that man...

Magento: Get Category URL by ID 23 Mar 2013 | 11:17 pm

To get category’s URL by its ID use the following code load(CATEGORY-ID)->getUrl() ?>

Modify shared item’s title, description & title appear on Facebook 3 Feb 2013 | 11:41 pm

Thousands of websites are shared in facebook each day. Whenever you share a URL on facebook, it generates a feed against that url. The feed has a title, an excerpt or description and an image. You can...

Clear Facebook Share’s Cache for images and description? 3 Feb 2013 | 11:30 pm

Facebook share is good, simple, lets us share almost everything on web in seconds. But Facebook caches already shared urls/pages for better performance. This causes issues at time when we update the t...

CakePHP: Merge Add and Edit actions into a single HTML form 3 Feb 2013 | 11:19 pm

This CakePHP example will show you how to merge your Add and Edit forms into a Single Form action. This may be of benefit if you have a form with complex controller logic that you don’t want to duplic...

Incrementing a field in CakePHP like Hits & Votes 3 Feb 2013 | 11:09 pm

Let’s say you have an application, where users can place votes for their favorite products and you’d like to increment the current number of votes by one or count number of hits(Number of page views) ...

Magento Invalid Method Mage Catalog Model Product IsDuplicable 26 Dec 2012 | 11:33 pm

New version theme is not working in old version. After upgrading magento or when I design theme in magento 1.5.0.1 and use that theme in magento 1.4.2 that time my product page shows error like Invali...

Recently parsed news:

Recent searches: