+ 5

Php Mistake😳

Why the php compiler don't display the img? <?php ?> <body> <img src="ImgSrc" /> </body> however when i put the same code in Web it display with any mistakes😔 please what's the wrong?😓

5th Sep 2017, 3:25 AM
Shehab Amr
Shehab Amr - avatar
15 ответов
+ 9
@shehab that was a search result next time on desktop chrome/Firefox right click on a picture then copy and paste that url. on mobile Firefox/Firefox focus long press on a image them copy image location and paste that.
5th Sep 2017, 4:26 AM
Lord Krishna
Lord Krishna - avatar
+ 8
give the link i will try. check this one meanwhile works https://code.sololearn.com/wBLh2ynsC0Ow/?ref=app
5th Sep 2017, 3:46 AM
Lord Krishna
Lord Krishna - avatar
+ 7
sure no problem 😄. happy to help 😇
5th Sep 2017, 3:53 AM
Lord Krishna
Lord Krishna - avatar
+ 6
@Shehab
5th Sep 2017, 4:22 AM
Lord Krishna
Lord Krishna - avatar
+ 6
@lord you can now understand me : https://code.sololearn.com/wgT5xKX5NYjQ/?ref=app
5th Sep 2017, 4:23 AM
Shehab Amr
Shehab Amr - avatar
+ 6
@thanks lord krishna😃💝
5th Sep 2017, 4:30 AM
Shehab Amr
Shehab Amr - avatar
+ 5
@michelle , did you think that i will use the name of the img not link 😒
5th Sep 2017, 3:42 AM
Shehab Amr
Shehab Amr - avatar
+ 5
@lord , thank you for help😃💝 i think that the wrong in my img , i will use another one instead of it😃
5th Sep 2017, 3:51 AM
Shehab Amr
Shehab Amr - avatar
+ 5
@lord
5th Sep 2017, 4:04 AM
Shehab Amr
Shehab Amr - avatar
+ 4
You should use full file name eg. ImgSrc.jpg. Make sure your image file in the right location.
5th Sep 2017, 3:27 AM
Calviղ
Calviղ - avatar
+ 4
@Michelle , i was get this photo from google not from my files and the path is fully right *note:i work php from sololearn not on computer
5th Sep 2017, 3:30 AM
Shehab Amr
Shehab Amr - avatar
+ 3
You have to use html tag like what Lord Krishna did.
5th Sep 2017, 3:53 AM
Calviղ
Calviղ - avatar
+ 3
Input the image URL,you will get it!
5th Sep 2017, 11:53 AM
liuguowang_75
liuguowang_75 - avatar
+ 1
It could be a bug, you should report it to Sololearn.
5th Sep 2017, 3:40 AM
Calviղ
Calviղ - avatar
+ 1
If you are using sololearn or a text editor that can not upload images use dropbox for images and in the code it dose not have an image extension
30th Oct 2020, 10:30 AM
Cleen
Cleen - avatar