Original Post
I wish to add images to the seconde table how would i go about doing this??
CREATE TABLE testblob (
image_id tinyint(3) NOT NULL AUTO_INCREMENT,
image_type varchar(25) NOT NULL,
image longblob NOT NULL,
image_size varchar(25) NOT NULL,
image_ctgy varchar(25) NOT NULL,
image_name varchar(50) NOT NULL,
KEY image_id (image_id)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
CREATE TABLE 'normalarmor' (
'normalarmorID' int(11) NOT NULL auto_increment,
'normalarmorNAME' varchar(225) NOT NULL default '', 'normalarmorREQUIERMENTS' int(11) NOT NULL default '0',
'normalarmorDEFENCE' int(11) NOT NULL default '0',
PRIMARY KEY ('normalarmorID') ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT;How should i go abbout adding immages to the second one