+ 1

can we display image on php and what is a syntax of it

image of php

18th Jun 2018, 12:34 PM
aditya
aditya - avatar
7 Respuestas
+ 4
Hello, aditya ! Of course you can, all the tags from html work directly in php absolutely the same way as they would work in a simple html document. <?php //code php ?> //code html <img src='MyImage' alt='Image'/>
18th Jun 2018, 12:46 PM
Alexander Sokolov
Alexander Sokolov - avatar
+ 2
To display image direct, you do not need php. Just use HTML in php file, outside or without php tag. In this case, there is no different between HTML or PHP files. You only use PHP code when you need to program some variables into HTML.
18th Jun 2018, 2:28 PM
Calviղ
Calviղ - avatar
+ 1
can any one send me the code of it
18th Jun 2018, 12:47 PM
aditya
aditya - avatar
+ 1
thank you donna it work
18th Jun 2018, 12:54 PM
aditya
aditya - avatar
0
alexander in which tab we wrote the code in php or in html
18th Jun 2018, 12:49 PM
aditya
aditya - avatar