Selamat Datang

Assalamu'alaikum Warahmatullahi Wabarokatuh Wamaghfiratuh, Moga anda dapat mengambil manfaat dari keberadaan blog Prestasikoe ini.

blog ini sekedar kumpulan" yang tidak bisa ku ingat seluruhnya,
makanya dibuat dlm tulisan.

produk

produk

Tuesday, June 24, 2008

Ke Garut Lagih

minggu kmaren ke garut lagih
pagi di bandung
siang di garut rancabago , patrol
sore di cipanas [udah lm ngak renang]
mlm di masjid iqra
bandung 10 mlm


bg83

Other Way row over

<tr onmouseover="old_bg=this.getAttribute('bgcolor');this.setAttribute('bgcolor', '#FEFEED', 0);" onmouseout="this.setAttribute('bgcolor', old_bg, 0); " bgcolor="#ffffff">


bg83

Monday, June 16, 2008

datarow2colom


# phpMyAdmin SQL Dump
# version 2.5.4
# http://www.phpmyadmin.net
#
# Host: localhost
# Generation Time: Jun 16, 2008 at 08:58 AM
# Server version: 5.0.26
# PHP Version: 5.1.6
#
# Database : `test1`
#

# --------------------------------------------------------


#
# Table structure for table `testproduk`
#


CREATE TABLE `testproduk` (
`pid` varchar(255) NOT NULL,
`item` varchar(255) NOT NULL,
`desc` varchar(255) NOT NULL,
`price` varchar(255) NOT NULL,
PRIMARY KEY (`pid`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;


#
# Dumping data for table `testproduk`
#


INSERT INTO `testproduk` (`pid`, `item`, `desc`, `price`) VALUES ('p001', 'item1', 'desc1', '1'),
('p002', 'item2', 'desc2', '2'),
('p003', 'item3', 'desc3', '3'),
('p004', 'item4', 'desc4', '4'),
('p005', 'item5', 'desc5', '5'),
('p006', 'item6', 'desc6', '1'),
('p007', 'item7', 'desc7', '2'),
('p008', 'item8', 'desc8', '3'),
('p009', 'item9', 'desc9', '4'),
('p010', 'item10', 'desc10', '5'),
('p011', 'item11', 'desc11', '1'),
('p012', 'item12', 'desc12', '2'),
('p013', 'item13', 'desc13', '3'),
('p014', 'item14', 'desc14', '4'),
('p015', 'item15', 'desc15', '5'),
('p016', 'item16', 'desc16', '1'),
('p017', 'item17', 'desc17', '2'),
('p018', 'item18', 'desc18', '3'),
('p019', 'item19', 'desc19', '4'),
('p020', 'item20', 'desc20', '5'),
('p021', 'item21', 'desc21', '1'),
('p022', 'item22', 'desc22', '2'),
('p023', 'item23', 'desc23', '3'),
('p024', 'item24', 'desc24', '4'),
('p025', 'item25', 'desc25', '5'),
('p026', 'item26', 'desc26', '1'),
('p027', 'item27', 'desc27', '2'),
('p028', 'item28', 'desc28', '3'),
('p029', 'item29', 'desc29', '4'),
('p030', 'item30', 'desc30', '5');





<?php
$myconn=mysql_connect("localhost","root","root");
mysql_select_db("test1");


$sql = 'SELECT `pid` , `item` , `desc` , `price` '
. ' FROM `testproduk` LIMIT 0, 30';
$rs = mysql_query($sql);


$slice = 3;
$doslice= true;
$part = ceil(mysql_num_rows($rs)/$slice);
$width = floor(100/$slice)."%";
?>
<style type="text/css">
<!--
.trheader {
background-color: #00BBF9;
font-weight:bold;
color:#333333;
}
.trdata {
background-color: #EAEAEA;
}
-->
</style>
<strong>PRICE LIST</strong>
<table width="100%" border="0" cellspacing="0" cellpadding="3" style="border:2px solid #cfcfcf;font:8pt tahoma;">
<tr>
<td width="<?=$width;?>" valign="top" align="center">
<?php
$i=0;
$lo=0;
while($row=mysql_fetch_array($rs)){$i++;$lo++;
if($lo==1){
?>
<table width="100%" border="0" align="center" cellpadding="3" cellspacing="1" style="border:1px solid #cfcfcf;font:8pt tahoma;">
<tr class="trheader">
<td width="20">No</td>
<td>Pid</td>
<td>Desc</td>
<td>Price</td>
</tr>
<?php
}
?>
<tr class="trdata">
<td><strong><?=$i;?>.</strong></td>
<td><?=$row['pid'];?></td>
<td><?=$row['desc'];?></td>
<td><?=$row['price'];?></td>
</tr>
<?php if($lo==$part&&$doslice==true){
echo '</table>';
echo '</td>';
echo '<td width="'.$width.'" valign="top" align="center">';
$lo=0;
}
?>
<?php
}
?>
</table>
</td>
</tr>
</table>
<br />
<br />
<table width="300" border="0" align="center" cellpadding="3" cellspacing="0" bgcolor="#F4F4F4" style="border:2px solid #cfcfcf;font:8pt tahoma;color:#333333;">
<tr>
<td style="text-align:justify;"><strong><u>Triks Data Row 2 Columns or more</u></strong><br />
good for print price list in 2 or more column <br />
<br />
bagus digunakan untuk memprint price list yang membutuhkan beberapa kolom dalam menampilkan data yang sama, kelebihannya adalah anda hanya perlu menjalankan query 1 kali saja untuk menampilkan data harga dari database. <br />
jika anda menggunakan applikasi web developer dengan WISYWIG akan mudah sekali dalam merubah dan atau menambahkan colom baru. <br />
Trik ini tentu bisa juga digunakan untuk menampilkan tabel lain. <br />
<br />
Selamat Mencoba<br />
<br />
<div style="font-family:Georgia;font-style:italic;font-weight:bold;text-align:right;"><a href="mailto:bageer83@yahoo.co.id?subject=Triks Data Row 2 Columns" style="




bg83

Saturday, June 14, 2008

The Beauty of Mathematics

The Beauty of Mathematics

1 x 8 + 1 = 9
12 x 8 + 2 = 98
123 x 8 + 3 = 987
1234 x 8 + 4 = 9876
12345 x 8 + 5 = 98765
123456 x 8 + 6 = 987654
1234567 x 8 + 7 = 9876543
12345678 x 8 + 8 = 98765432
123456789 x 8 + 9 = 987654321

1 x 9 + 2 = 11
12 x 9 + 3 = 111
123 x 9 + 4 = 1111
1234 x 9 + 5 = 11111
12345 x 9 + 6 = 111111
123456 x 9 + 7 = 1111111
1234567 x 9 + 8 = 11111111
12345678 x 9 + 9 = 111111111
123456789 x 9 +10= 1111111111

9 x 9 + 7 = 88
98 x 9 + 6 = 888
987 x 9 + 5 = 8888
9876 x 9 + 4 = 88888
98765 x 9 + 3 = 888888
987654 x 9 + 2 = 8888888
9876543 x 9 + 1 = 88888888
98765432 x 9 + 0 = 888888888

Brilliant, isn't it?

And look at this symmetry:

1 x 1 = 1
11 x 11 = 121
111 x 111 = 12321
1111 x 1111 = 1234321
11111 x 11111 = 123454321
111111 x 111111 = 12345654321
1111111 x 1111111 = 1234567654321
11111111 x 11111111 = 123456787654321
111111111 x 111111111 = 12345678987654321



Now, take a look at this...


101%



From a strictly mathematical viewpoint:



What Equals 100%?
What does it mean to give MORE than 100%?

Ever wonder about those people who say they are giving more than 100%?

We have all been in situations where someone wants you to
GIVE OVER 100%.

How about ACHIEVING 101%?


What equals 100% in life?


Here's a little mathematical formula that might help
answer these questions:


If:

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Is represented as:

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26.


If:


H-A-R-D-W-O- R- K

8+1+18+4+23+ 15+18+11 = 98%


And:

K-N-O-W-L-E- D-G-E

11+14+15+23+ 12+5+4+7+ 5 = 96%


But:

A-T-T-I-T-U- D-E

1+20+20+9+20+ 21+4+5 = 100%

THEN, look how far the love of God will take you:

L-O-V-E-O-F- G-O-D

12+15+22+5+15+ 6+7+15+4 = 101%

Therefore, one can conclude with mathematical certainty that:

While Hard Work and Knowledge will get you close, and Attitude will
get you there, It's the Love of God that will put you over the top!

Have a nice day & God bless!!
dr milis alumniku
bg83

go success

bukankah kau pernah merasakan kesuksesan,
bukankah kau juga telah melewati masa-masa sulit,
bukankah kau pernah merasakan beratnya bangkit,
bukankah semua itu indah untuk dijalani,
bukankah hambar rasanya jika semua itu belum pernah dijalani, tak ada ilmu amal bahkan tak ada pengalaman yang dapat diceritakan pada orang terdekat,

kita hanya butuh ingatan,
bagaimana kesuksesan dapat diraih,
kita hanya butuh ingatan,
bagaimana kesulitan dapat dilalui,
kita hanya butuh ingatan,
bagaimana bangkit dapat dicapai,

satu hal lagi
kita butuh ingatan,
kalimat apa yang ingin diucapkan sebagai doa pada Allah

mengingat diri kita saat menjalani semua ini bisa sebagai motivasi diri,
disamping motivasi yang datang dari orang terdekat kita.

semoga bermanfaat
bg20080614