PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Hey, does anyone know how to retrieve text from a file field?
Basically, what I am trying to do in (1) upload an image and (2) take the file name and path that it is uploaded to and insert it into my MySQL database.
personally I'd advise reversing that logic and naming the file based on an auto_inc db field return - basically, if two people uploaded an image called blat.jpg what would happen with your version? would the old be overwritten?