https://www.icyphoenix.com/viewtopic.php?f=26&t=5548&p=38813#p38813
-----------------------------------
DWho
Sun 26 Apr, 2009 20:35

Re: Sql Query Problem
-----------------------------------
[quote user="Mighty Gorgon" post="38783"]We need at least to know the table structure before being able to help. :wink:[/quote]

Is this what you need... this is the part I have not looked at.. :oops: 

[spoiler][code linenumbers=false]CREATE TABLE `ip_user_characteristics` (
  `characteristics_id` int(10) unsigned NOT NULL auto_increment,
  `characteristics_name` varchar(255) NOT NULL default '',
  `characteristics_img` varchar(255) NOT NULL default '',
  PRIMARY KEY  (`characteristics_id`)
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=5 ;

--
-- Dumping data for table `ip_user_characteristics`
--


-- --------------------------------------------------------

--
-- Table structure for table `ip_user_characteristics_data`
--

CREATE TABLE `ip_user_characteristics_data` (
  `characteristics_id` int(10) unsigned NOT NULL default '0',
  `to_user_id` int(10) unsigned NOT NULL default '0',
  `from_user_id` int(10) unsigned NOT NULL default '0'
) ENGINE=MyISAM DEFAULT CHARSET=latin1;[/code][/spoiler]

 :mrgreen:  :mrgreen:


