Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. PHP

PHP

Scheduled Pinned Locked Moved Web Development
phpdatabasetutorialquestion
5 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Z Offline
    Z Offline
    zunisheikh
    wrote on last edited by
    #1

    how to upload an image and store its path in my sql using php?

    T Kornfeld Eliyahu PeterK 2 Replies Last reply
    0
    • Z zunisheikh

      how to upload an image and store its path in my sql using php?

      T Offline
      T Offline
      thatraja
      wrote on last edited by
      #2

      Hereafter use this forum[^] to post php & mysql related questions. And did you search Google to get answer?

      thatraja

      Code converters | Education Needed No thanks, I am all stocked up. - Luc Pattyn When you're wrestling a gorilla, you don't stop when you're tired, you stop when the gorilla is - Henry Minute

      Z 1 Reply Last reply
      0
      • Z zunisheikh

        how to upload an image and store its path in my sql using php?

        Kornfeld Eliyahu PeterK Offline
        Kornfeld Eliyahu PeterK Offline
        Kornfeld Eliyahu Peter
        wrote on last edited by
        #3

        I didn't understood it. Are you expecting someone to come forward and teach you over this forum (or over the proper forum) about PHP, MySQL and what in-between? It's unlikely to happen - you are in a site for those who code, not for those who not...Until know you are not! If you have a task, first learn, than make an attempt, than come to us here - with! your attempt...

        I'm not questioning your powers of observation; I'm merely remarking upon the paradox of asking a masked man who he is. (V)

        "It never ceases to amaze me that a spacecraft launched in 1977 can be fixed remotely from Earth." ― Brian Cox

        1 Reply Last reply
        0
        • T thatraja

          Hereafter use this forum[^] to post php & mysql related questions. And did you search Google to get answer?

          thatraja

          Code converters | Education Needed No thanks, I am all stocked up. - Luc Pattyn When you're wrestling a gorilla, you don't stop when you're tired, you stop when the gorilla is - Henry Minute

          Z Offline
          Z Offline
          zunisheikh
          wrote on last edited by
          #4

          yes i am trying .i followed w3schools.but I observed most people save image name in database not the image can you guide me if we will save a image name in database than how will we retrieve those images?

          T 1 Reply Last reply
          0
          • Z zunisheikh

            yes i am trying .i followed w3schools.but I observed most people save image name in database not the image can you guide me if we will save a image name in database than how will we retrieve those images?

            T Offline
            T Offline
            thatraja
            wrote on last edited by
            #5

            Two ways. 0) File system - Store image location in database, image in server. Later, load image from server using the path stored in database. 1) Database - Store image as blob in database. Later, load blob as image in page. Check the advantages & disadvantages of these two ways here. Clickety[^] Here tons of resources for you https://www.google.com/search?q=php+save+retrieve+image+database[^]

            thatraja

            Code converters | Education Needed No thanks, I am all stocked up. - Luc Pattyn When you're wrestling a gorilla, you don't stop when you're tired, you stop when the gorilla is - Henry Minute

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups