I have a jpeg image in a mysql db. I want to save that image to disk. Is there a command that copies a db field to a file on the disk or do I need to create new patette and then use imagecratefromjpeg()?
Surely there is a function to save a file to disk from a var.
🙂