problem with imagecreatefromjpeg()

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!

Moderator: General Moderators

Post Reply
mhonnphp
Forum Commoner
Posts: 37
Joined: Fri Oct 12, 2007 11:29 pm
Location: Philippines
Contact:

problem with imagecreatefromjpeg()

Post by mhonnphp »

Hello,

how can i make imagecreatefromjpeg(//source or file) incorporated with database?
// db connection
// query then execute query
// $row = get query data
example imagecreatefromjpeg($row[0]);
I'm having error with this. no image output / error message.
but when I change imagecreatefromjpeg(picture.jpg)
it's working fine.

any suggestion or another solution??

thanks
josh
DevNet Master
Posts: 4872
Joined: Wed Feb 11, 2004 3:23 pm
Location: Palm beach, Florida

Re: problem with imagecreatefromjpeg()

Post by josh »

Post Reply