YARDIM!

0 Cevap php

And how to write MySQL Join and PHP?
Or you can make another? ...

Örnekler:

Table 1:
movie_id | movie_title
1______  | title_movie_1
2______  | title_movie_2
3______  | title_movie_3
Table 2:
genre_id | genre_title
1______  | title_genre_1
2______  | title_genre_2
3______  | title_genre_3
Table 3:
id | movie_id | genre_1
1_ | __1____ | _1
1_ | __1____ | _2
1_ | __2____ | _1
1_ | __2____ | _3
1_ | __3____ | _1
1_ | __3____ | _3
1_ | __3____ | _2

Sonuçlar PHP:

Movie: title_movie_1
Genre: 
_a href="genre/1 (id_genre)">title_genre_1 _/a>, 
_a href="genre/2">title_genre_2 _/a>

Movie: title_movie_2
Genre: 
_a href="genre/1">title_genre_1 _/a>,
_a href="genre/3">title_genre_3 _/a>

Movie: title_movie_3
Genre: 
_a href="genre/1">title_genre_1 _/a>
_a href="genre/2">title_genre_2 _/a>
_a href="genre/3">title_genre_3 _/a>

I can not find do ...
Help, please! I'm waiting!

Sincerely, Areku

0 Cevap