+ 1
can we display image on php and what is a syntax of it
image of php
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'/>
+ 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.
+ 1
can any one send me the code of it
+ 1
thank you donna it work
0
alexander in which tab we wrote the code in php or in html