Jump to content

Penders

New Members
  • Posts

    3
  • Joined

  • Last visited

Penders's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. It doesn`t work barand It` s always : Call to a member function fetchColumn() on a non-object
  2. Images - img_id, gal_id, user_id, img_name ..... gallery - gal_id, gname, user_id......
  3. Hi! I`m trying to make a photo gallery website. I`m trying to echo galleries and images that are only to specific user_id, (SESSION user_id) I found this query and I can`t figure out how to connect it with user_id. Please help! $query=" select distinct(images.gal_id),img_name, gname,img_id from images, gallery where images.gal_id=gallery.gal_id group by images.gal_id order by gal_id desc limit $eu,$limit"; $query2=" select distinct(images.gal_id),img_name, gname,img_id from images, gallery where images.gal_id=gallery.gal_id group by images.gal_id order by gal_id "; Thank You!
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.