+ 2
What is a tag for add link and picture in PHP?
2 odpowiedzi
+ 8
You mean insert <a>/<img> in HTML with PHP? (do it like this : "<?php
echo "<a href='http://www.google.com'>Link</a>";
?>")
+ 2
To note, PHP can be ran procedural. This allows HTML and PHP to be parsed as it loads top->bottom.
<a href="<?php echo $link[$i]; ?>">Link</a> ran in a loop can return just like the string ValentinHacker put out.