Search found 4 matches

by BigBadJohn
Thu Nov 21, 2019 6:33 pm
Forum: Scripting Languages
Topic: only image icon shows up
Replies: 5
Views: 2060

Re: only image icon shows up

Then $staff_pic_file must be a bad/invalid URL. What does $staff_pic_file equal when it doesn't work? And when it works? Going to need a lot more information to debug. Without more detail, it will be very difficult to debug. Just got it figured out... The upload file needs to be in the same directo...
by BigBadJohn
Wed Nov 13, 2019 7:46 pm
Forum: Scripting Languages
Topic: only image icon shows up
Replies: 5
Views: 2060

Re: only image icon shows up

Hi Albert,
This is the code I' am using to bring up the image and all it shows is a black image icon.

"<img class='img-responsive' src = '$staff_pic_file' />";
by BigBadJohn
Wed Nov 13, 2019 9:12 am
Forum: Scripting Languages
Topic: only image icon shows up
Replies: 5
Views: 2060

only image icon shows up

I think this may be a double post as I entered all this info befor but it does not show up...sorry if it is. I am working in php and mysqli and when i call up an image referenced by the data base it ony brings up an image icon and won't open the image! this is the code I'm using ``` $staff_pic_file ...
by BigBadJohn
Wed Nov 13, 2019 8:45 am
Forum: Scripting Languages
Topic: only image icon shows up
Replies: 5
Views: 2060

Images don't show up

I'm using php and myslqi data base and images that are referenced by the data base only show the little image icon and not the image! it does show up when I transfer it to the web! the code I'm using is ```$staff_pic_file = mysqli_result($result, $x, 'staff_pic_file');``` followed by ``` echo "<img ...