I have table like
CREATE TABLE IF NOT EXISTS `categories` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`title` varchar(255) NOT NULL,
`parent_id` int(11) NOT NULL DEFAULT '0',
`status` enum('1','2') NOT NULL COMMENT '''1''=active,''2''=inactive',
PRIMARY KEY (`id`)
)
now here I want records like
id,title,parent_title,status
means I want relative title in place of parent_id(at here parent_title)