Stories Exchange Project SELECT AutoID, Cat,CatDate FROM News_Cats Order by CatDate DESC
  Novinky
 
  #Cat#

  SELECT Photo FROM Photos WHERE PhotoID = #PID#