Jump to content

Admin Cats and Subcats


stewartrose

Recommended Posts

Hi Team, after days of searching for information I have given up, I am trying to build a admin cp for news articles, yup i could go and buy one, but I thought it more interesting to try and build one :) YES with help

 

Here is what I have

CREATE TABLE `lx_category` (

  `id` bigint(10) NOT NULL auto_increment,

  `category` varchar(150) NOT NULL default '',

  PRIMARY KEY  (`id`)

) ENGINE=MyISAM AUTO_INCREMENT=15 DEFAULT CHARSET=utf8 AUTO_INCREMENT=15 ;

 

 

CREATE TABLE `lx_subcategory` (

  `id` bigint(10) NOT NULL auto_increment,

  `categoryid` varchar(150) NOT NULL default '',

  `sub_category` varchar(150) NOT NULL default '',

  PRIMARY KEY  (`id`)

) ENGINE=MyISAM AUTO_INCREMENT=3 DEFAULT CHARSET=utf8 AUTO_INCREMENT=3 ;

 

What I would like to do is add/modify/delete main cats and sub cats

 

Could any one help please to get me on my way

 

All the best from Alan

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.