Jump to content
Old threads will finally start getting archived ×

AlbumFiend

New Members
  • Posts

    5
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

AlbumFiend's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. I was asking if it were possible to combine them in the same variable, such as: $extra_alb_qry .= " ORDER BY `id` DESC AND `cat_id` = " . $_GET['genre']; This doesn't work, and I also tried adding it to the end which didn't work either.
  2. My question was how would I arrange the second $extra_alb_qry so that it would also ORDER BY ?
  3. I've got a variable that's like: $extra_alb_qry .= " ORDER BY `id` DESC"; and a variable that's like: $extra_alb_qry .= " AND `cat_id` = " . $_GET['genre']; Both of these work, but I want to change the 2nd one so it does the same thing but also has ORDER BY `id` DESC in it also, each time I edit it though it ends up pulling no data.
  4. I'm a real beginner when it comes to PHP... so hopefully I'm not asking too much but an example would be nice For the live site, can visit @ www . albumfiend . com
  5. Hey I'm new here, just signed up, and was hoping to get some help implementing some features into this PHP script. I didn't personally code it and I'm almost brand new when it comes to coding in PHP. Basically my table is set up so that it has a date header and each item listed has their date added attached. I was hoping to be able to make the date header clickable so it would sort the information already in the table by date. I found this on another forum when looking it up: select * from table order by datecolumn desc But I'm not sure how to implement it
×
×
  • 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.