Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
I propose a table with the following structure:
CREATE TABLE IF NOT EXISTS `expressions` (
`id` int(10) unsigned NOT NULL,
`rel_a` enum('self','external') NOT NULL,
`id_a` int(10) unsigned NOT NULL,
`operation` enum('and','or') NOT NULL,
`rel_b` enum('self','external') NOT NULL,
`id_b` int(10) unsigned NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question