Categories and MySQL
inna last edited by
Hey, everybody, it's hard. I've got to make categories, and I don't know what's right. Massives? Here's the table.
categoryand is the table
id author title tags date text img cat
cat- it is indicated as if id category is in the tables
id name meta_k meta_d
I don't even know how to do this? Something like that in the table.
catcontains 3, the table
categoryWe'll take the 3rd, there's a category name.
JOINin mysql. The request shall, in general, be a form:
SELECT * FROM topic t JOIN category c ON t.cat = category.id