php - TCPDF Image from Mysql Not showing -


hi guys can me? i'm stuck in code: need show image local path in tcpdf file. if replace variable of image name name of file working great. if replace name of file variable mysql it's not working , says:

tcpdf error: [image] unable size of image: ../jpeg/

here code. thank help!

not working

$imagename = $row['imagename']; $trimmedimagename = trim($imagename); <img src="../jpeg/'.$trimmedimagename.'"/> 

working

$imagename = picture.jpg; $trimmedimagename = trim($imagename); <img src="../jpeg/'.$trimmedimagename.'"/> 


Comments

Popular posts from this blog

neo4j - finding mutual friends in a cypher statement starting with three or more persons -

php - How to remove letter in front of the word laravel -

minify - Minimizing css files -