Sorting rows in PHP/MySQL that match certain criteria?

This should help you out with your existing table structure. I'm assuming type contains bronze silver and gold in this query.

This is a conception problem. You shouldn't have three "category_X" columns. Instead, you should have a separate table (restaurant_category for instance).

Basically, your table structures would look like this.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions