Jump to content

sottwell

New Members
  • Posts

    5
  • Joined

  • Last visited

    Never

Everything posted by sottwell

  1. I'm not sure it will make a difference, but you don't need the quotes surrounding the $img_url variable.
  2. $query = "SELECT * FROM pictures ORDER BY date LIMIT 1";
  3. Use a foreach loop to loop through the $_FILES array. http://php.net/manual/en/function.move-uploaded-file.php As far as uploading from the front-end form, my preference for multiple uploads is Uploadify.
  4. http://php.net/manual/en/function.implode.php
  5. Is there a way to instantiate a PDO object using an already existing database connection? Or does PDO detect an already opened connection and use it? The existing connection is a persistant connection.
×
×
  • 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.