ออ ใช้ css ช่วยครับ โดยกำหนดรูปให้เป็น background ก็คือ การแสดง title 2 ครั้งนั่นเอง
ิbackground:url('url รูป') no-repeat;
แต่ถ้าต้องการให้รูปแต่ละช่องแสดงไม่เหมือนกันก็เพิ่ม :nth-of-type(1) :nth-of-type(2) :nth-of-type(3)
สมมุติว่าดึงมาแสดงแบบ
<ul class="xxxx">
<li>062-14 448</li>
<li>062-4 9</li>
<li>062-4 596</li>
</ul>
css ก็จะประมาณนี้
ul.xxxx li:nth-of-type(1){
background:url('url รูปที่1') no-repeat;
}
ul.xxxx li:nth-of-type(2){
background:url('url รูปที่2') no-repeat;
}
ul.xxxx li:nth-of-type(3){
background:url('url รูปที่3') no-repeat;
}
ผิดถูกขออภัยนะครับ