Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- echo "<div id='divTrigger'>";
- echo "<a href=\"javascript:;\" onClick=\"bukaContent(this,'div1')\" id=\"slideAwal\">1</a>";
- $nomor = 2;
- foreach ($gambars as $gambar) {
- //$src = $gambar['gambar'];
- echo "<a href=\"javascript:;\" onClick=\"bukaContent(this,'div$nomor')\">$nomor</a>";
- $nomor++;
- echo "</div>";
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement