kurak
dołączył: 19-11-2005 |
Potrzebuje pomocy z pobieraniem danych z 2 tablic z pol o tych samych nazwach, nie moge tego za ch... zrobic :/ ciagle wywala mi bledy :[
moje tabele:
CREATE TABLE `mixtape` (
`id` int(11) NOT NULL auto_increment,
`artist` text NOT NULL,
`album` text NOT NULL,
`tracklista` text NOT NULL,
`opis` text NOT NULL,
`url` text NOT NULL,
`img` text NOT NULL,
`vip` int(8) NOT NULL default '0',
`data` text NOT NULL,
`ocena` int(11) NOT NULL default '0',
`ile_ocen` int(11) NOT NULL default '0',
PRIMARY KEY (`id`)
) TYPE=MyISAM AUTO_INCREMENT=16 ;
CREATE TABLE `plyty` (
`id` int(11) NOT NULL auto_increment,
`artist` text NOT NULL,
`album` text NOT NULL,
`tracklista` text NOT NULL,
`opis` text NOT NULL,
`url` text NOT NULL,
`img` text NOT NULL,
`vip` int(8) NOT NULL default '0',
`data` text NOT NULL,
`ocena` text NOT NULL,
`ile_ocen` int(11) NOT NULL default '0',
PRIMARY KEY (`id`)
) TYPE=MyISAM AUTO_INCREMENT=18 ;
chce z tych tabel wzciagnac pola id, artist, album a potem je zapetlic i posortowac wedlug daty malejąco
z gory thx... p0zdro |