开发者

required php dom generator

Hello I have some functions that generate HTML code snippets like

echo "<div class='thtphoto' id='xcyz''>"
for($i = 0; $i <count($aFotos); $i++) {

echo "<div  onclick=\"selectPhoto('".aFotos[i]['url']. "'\")" class='miniphoto_on' id='div$i'">
....
...
..

}

if someone knows开发者_如何学编程 any class that I can use to create such HTML snippets using that class will be very helpful for me.


have you tried DOMDocument?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜