darkfreaks Posted June 20, 2012 Share Posted June 20, 2012 so i managed to fix my code enough to where it displays ../cms/models/id/ but i can't get it to display the image as needed. <?php echo "<img src='../cms/models/$modelID/{$image[1]}'>"; ?> not sure why it isn't displaying the path to the image Link to comment https://forums.phpfreaks.com/topic/264527-image-path-issue/ Share on other sites More sharing options...
cpd Posted June 21, 2012 Share Posted June 21, 2012 What are the actual results and what are the expected results? Link to comment https://forums.phpfreaks.com/topic/264527-image-path-issue/#findComment-1355675 Share on other sites More sharing options...
xyph Posted June 21, 2012 Share Posted June 21, 2012 What code? Are you programming with all errors being reported? From what I can see, neither $modelID or $image are defined Link to comment https://forums.phpfreaks.com/topic/264527-image-path-issue/#findComment-1355678 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.