Answer the question
In order to leave comments, you need to log in
How to add the code generated by the php script to the right place in the existing html document?
there is such an html page with cubes on F1, the menu will open,
the script /coub/coubadd.php , when adding a link to the form, sends an API request to coub.com, from the JSON received in response it forms a div element / s, which must be added to the given one, an already existing html page/section .(by default /coub/index.html
<div class="coub" onmouseover="showName(this);"><a href="http://coub.com/view/tgr7" onclick="return frame(this);"><img src="sotvm.best_files/small_1410972233_1393542634_00022.jpg">Dear Lars</a><span>
<php?
echo $coub_info;
?>
</span></div>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question