<a href="#?b_id=<?php echo $result1[biblio_id]; ?>" class="product" data-type="book" data-popup="true"
data-url="content/bible/index.php?size=1200x750&b_id=<?php echo $result1[biblio_id]; ?>" title="<?php echo $result1[title]; ?>"><?php if($result1[image] == null)
{?><img src="images/noimg.jpg"<?php }
else { ?><img src="<?php echo $img_url; ?><?php echo $result1[image]; ?>"<?php } ?> width="81" height="107" /></a>
<?php }} else { $sql2 = mysql_query("SELECT * FROM biblio WHERE gmd_id != '29' && folder_name != '' ORDER BY last_update DESC LIMIT 0, 200"); while($result2 = mysql_fetch_array($sql2)) { ?><a href="#?b_id=<?php echo $result2[biblio_id]; ?>" class="product" data-type="book" data-popup="true" data-url="content/bible/index.php?size=1200x750&b_id=<?php echo $result2[biblio_id]; ?>" title="<?php echo $result2[title]; ?>"><?php if($result2[image] == null) {?><img src="images/noimg.jpg"<?php } else { ?><img src="<?php echo $img_url; ?><?php echo $result2[image]; ?>"<?php } ?> width="81" height="107" /></a>
tulisan berwarna merah merupakan notice dari undefined php yang harus ditambahkan kutip contoh:
[title]
[image]
menjadi
['title']
['image']
hanya kurang kutip satu saja,undifined tergantung kesalahan yang sedang ditampilkan pada web yang dijalankan dan silahkan buka config php.ini pada xampp yang versi baru anda dan rubah pada php.ini
ganti display erors production value : on menjadi off
dan ganti short_open_tag dari off menjadi on.
karena notice pada undefined bukan kesalahan error tapi hanya peringatan saja, saya hanya menshare pengalaman perubahan versi xampp ke versi xampp terbaru.terima kasih

No comments:
Post a Comment