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
Post a Comment