menempatkan foto siswa pada SIASELAHDibuat
Login Terakhir
5 Tahun lalu,
Telah Dilihat 1338 Kali
| |
Sultan Account |
|
|
Andi rais denny
Mengatakan :
Sultan Account
Ass. pak robby gimana cara menempatkan foto siswa pada Raport (hal2) Ada 1 File Kiriman : 1. phpmu3.png (40 KB) |
|
| PHPMU.COM Support commented on 02 Agu 2017 20:39:40 Sultan Account |
|
|
|
Assalam, buka file print-hal2.php dengan text editor
kemudian tinggal ubah table pada baris 22 menjadi :
<table style='font-size:15px; float:left' width='80%'>
dan tambahkan table baru setelah penutup table tersebut dengan :
<table width='20%'>
<?php
echo "<img style='width:95px; padding:3px; border:1px solid #000' src='../foto_siswa/$s[foto]'>";
?>
</table>
Selesai, berikut saya lampirkan hasil dan source code yang sudah berhasil saya cobakan disini,.. :) Terdapat 2 File dilampirkan : 1. hasil_print_2_php.png (175 KB)2. print-hal2.zip (1 KB) |
|