Jump to content

jasoninfminor

New Members
  • Posts

    4
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

jasoninfminor's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. thanks a lot helping. that's definitely how i would do it, however i have page numbers and stuff going off of how big the record set is. so i basically need the filtering to happen in the query...
  2. so basically i would do 2 queries: 1. one that grabs all the rows, check to see if the file exists that's in that query. then an array of that row to "active" 2. then the second one would compare to see if each row is marked active and grab the row if it is how would i translate those instructions into code? is there a condition in mysql that can do this?
  3. the only problem is, that will throw off the row count of the selected rows. i dont want to use php to filter the rows after the sql already selects them.
  4. I have a mysql database that contains the name of flv files Is there a way of checking if the file actually exists on the server before selecting the row? my code is basically: "SELECT * from video where type='public'" but i want to add a condition that makes it if the flv file in the row is a file on the server
×
×
  • 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.