Kamis, 05 September 2013

PHP Indonesia - Facebook: [ask]om, mau tanya gimana cara membuat kondisi ber...

PHP Indonesia - Facebook
PHP Indonesia is a community for everyone that loves PHP. Our focus is in the PHP world but our topics encompass the entire LAMP stack. Topics include PHP coding, to memcached handling, db optimizations, server stack, web server tuning, code deploying, hosting options and much much more. Youtube Channel : http://www.youtube.com/user/OurPHPIndonesia Twitter : @php_indonesia NOTE: Rules for Wall posting: https://www.facebook.com/groups/35688476100/doc/10151597056316101/ Daftar Keanggotaan : http://www.facebook.com/groups/35688476100/doc/10150671770741101/ 
Marketing Mobile Apps

This online course focuses on marketing efforts that will increase your app's exposure and establish a mobile app marketing plan. Enroll today for $99.
From our sponsors
[ask]om, mau tanya gimana cara membuat kondisi ber...
Sep 6th 2013, 06:06, by Rere Saputra

Rere Saputra 6:06am Sep 6
[ask]om, mau tanya gimana cara membuat kondisi berhentinya loop jika nilainya iterasi terakhir Hampir Sama dengan yang sebelumnya?
misalnya:
hasil iterasi 3 = 1 -0.645295477 1.375234878
hasil iterasi 4 = 1 -0.896854213 1.958793752
hasil iterasi 3 dikatakan hampir sama dengan hasil iterasi 4 kemudian loop dihentikan dan tampilkan hasil iterasi yg terakhir
mohon bantuan om

Ganda Gamaliel Soritua Sinaga 6:08am Sep 6
untuk menhentikan perulangan pakai perintah "break"

Rere Saputra 6:09am Sep 6
iya memang pakai break om, di sini saya mau tanya gimana ngecek nilai yang dikatakan hampir sama seperti nilai di atas?

Andi Sholihin 6:10am Sep 6
if ($hasil_sekarang == $hasil_sebelumnya) {
break;
}

Ganda Gamaliel Soritua Sinaga 6:11am Sep 6
^ tuh diatas sdh dijwb...
msh blm ngerti jg? makanya jelasinnya yg lbh detail

Budi Sasongko 6:11am Sep 6
$diff = 0.001; //isi bebas aja,,
jika (nilai_skr - nilai_sblm) <= $diff ) {
//break;
//continue;
}

Rere Saputra 6:13am Sep 6
kalo operator logika "==" bukanya nilainya mesti sama persis om?
hasil iterasi 3 = 1 -0.645295477 1.375234878
hasil iterasi 4 = 1 -0.896854213 1.958793752
hasil iterasi 3 dengan iterasi 4 diatas hampir sama maka proses break

Ganda Gamaliel Soritua Sinaga 6:15am Sep 6
itu angka jelas berbeda om... gmn bisa dikatakan sama?
skr cb jelaskan definis "sama" yg om maksud.

Rere Saputra 6:18am Sep 6
hampir sama jika digit nilai pertama sama
gimana tuh ngeceknya om?

Eric Ariyanto 6:19am Sep 6
hampir sama??
misalnya selisih antara iterasi 3 dan iterasi 4 gak beda jauh gitu?

Eric Ariyanto 6:19am Sep 6
kalo digit pertama ya tinggal cek karakter pertamanya

Rere Saputra 6:20am Sep 6
misalnya selisih antara iterasi 3 dan iterasi 4 gak beda jauh gitu?
jadi seperti yang om budi maksud ya om eric?

Ganda Gamaliel Soritua Sinaga 6:31am Sep 6
"sama" itu jelas semua sdh ngerti...
"hampir sama" itu definisinya gmn bro....

You are receiving this email because you subscribed to this feed at blogtrottr.com.

If you no longer wish to receive these emails, you can unsubscribe from this feed, or manage all your subscriptions

PHP Indonesia - Facebook: gan... help ngebuat landscape menggunakan dompdf ...

PHP Indonesia - Facebook
PHP Indonesia is a community for everyone that loves PHP. Our focus is in the PHP world but our topics encompass the entire LAMP stack. Topics include PHP coding, to memcached handling, db optimizations, server stack, web server tuning, code deploying, hosting options and much much more. Youtube Channel : http://www.youtube.com/user/OurPHPIndonesia Twitter : @php_indonesia NOTE: Rules for Wall posting: https://www.facebook.com/groups/35688476100/doc/10151597056316101/ Daftar Keanggotaan : http://www.facebook.com/groups/35688476100/doc/10150671770741101/ 
Creating iOS Games: Beginner Course

Marin Todorov teaches you how to create an iPhone game easily and simply using Cocos2d in this $99 online course.
From our sponsors
gan... help ngebuat landscape menggunakan dompdf ...
Sep 6th 2013, 06:16, by Sis Joko Nugroho

Sis Joko Nugroho 6:16am Sep 6
gan...
help ngebuat landscape menggunakan dompdf

ini script ane...

<?
require_once("mod/dompdf/dompdf_config.inc.php");
spl_autoload_register('DOMPDF_autoload');
function pdf_create($html, $filename, $paper, $orientation, $stream=TRUE)
{
$dompdf = new DOMPDF();
$dompdf->set_paper($paper,$orientation);
$dompdf->load_html($html);
$dompdf->render();
$dompdf->stream($filename.".pdf", array('Attachment'=> false));
}
$filename = 'Report';
$dompdf = new DOMPDF();
$html = file_get_contents('http://127.0.0.1/smart/report_html.php');
pdf_create($html,$filename,'A4','Potrait');
?>

Ganda Gamaliel Soritua Sinaga 6:37am Sep 6
apanya yg di help gan?

You are receiving this email because you subscribed to this feed at blogtrottr.com.

If you no longer wish to receive these emails, you can unsubscribe from this feed, or manage all your subscriptions

PHP Indonesia - Facebook: Master2, saya tanya nih. Biasanya kasus yang terja...

PHP Indonesia - Facebook
PHP Indonesia is a community for everyone that loves PHP. Our focus is in the PHP world but our topics encompass the entire LAMP stack. Topics include PHP coding, to memcached handling, db optimizations, server stack, web server tuning, code deploying, hosting options and much much more. Youtube Channel : http://www.youtube.com/user/OurPHPIndonesia Twitter : @php_indonesia NOTE: Rules for Wall posting: https://www.facebook.com/groups/35688476100/doc/10151597056316101/ Daftar Keanggotaan : http://www.facebook.com/groups/35688476100/doc/10150671770741101/ 
Creating iOS Games: Beginner Course

Marin Todorov teaches you how to create an iPhone game easily and simply using Cocos2d in this $99 online course.
From our sponsors
Master2, saya tanya nih. Biasanya kasus yang terja...
Sep 6th 2013, 05:48, by Vinsensius Angelo

Vinsensius Angelo 5:48am Sep 6
Master2, saya tanya nih. Biasanya kasus yang terjadi saat kita membuat form Login / Register dan proses Log Out, kebiasaan / keinginan user adalah ingin kembali ke halaman sebelumnya / last page (khususnya Framework) . Saya memperhatikan beberapa website ada yang menyimpan Request URI pada URL ataupun pada Session / cookie.
Kira2 selain daftar di bawah ini apa lagi pertimbangan yang perlu dibuat?
1. Catat Request URI untuk:
--> Page Public (selama tidak ada kebijakan tertentu untuk masing2 Page, semisal tidak perlu login terlebih dahulu)
--> Page Private (khusus untuk Force Sign In / Login, dan redirect after login).
2. Jangan mencatat page yang direquest secara Asynchronus ataupun Controller web service (E.g. Ajax based) , karna akan menyebabkan redirect yang salah.

Pertanyaan tambahan, Apakah Query string lebih baik di urlencode() ?

#TrimaKasih

You are receiving this email because you subscribed to this feed at blogtrottr.com.

If you no longer wish to receive these emails, you can unsubscribe from this feed, or manage all your subscriptions

PHP Indonesia - Facebook: http://www.perfect4-trading.tk/

PHP Indonesia - Facebook
PHP Indonesia is a community for everyone that loves PHP. Our focus is in the PHP world but our topics encompass the entire LAMP stack. Topics include PHP coding, to memcached handling, db optimizations, server stack, web server tuning, code deploying, hosting options and much much more. Youtube Channel : http://www.youtube.com/user/OurPHPIndonesia Twitter : @php_indonesia NOTE: Rules for Wall posting: https://www.facebook.com/groups/35688476100/doc/10151597056316101/ Daftar Keanggotaan : http://www.facebook.com/groups/35688476100/doc/10150671770741101/ 
Creating iOS Games: Beginner Course

Marin Todorov teaches you how to create an iPhone game easily and simply using Cocos2d in this $99 online course.
From our sponsors
http://www.perfect4-trading.tk/
Sep 6th 2013, 04:58, by Badang Lao

Badang Lao 4:58am Sep 6
http://www.perfect4-trading.tk/

You are receiving this email because you subscribed to this feed at blogtrottr.com.

If you no longer wish to receive these emails, you can unsubscribe from this feed, or manage all your subscriptions

PHP Indonesia - Facebook: [ASK] permisi numpang tanya master, misal aku biki...

PHP Indonesia - Facebook
PHP Indonesia is a community for everyone that loves PHP. Our focus is in the PHP world but our topics encompass the entire LAMP stack. Topics include PHP coding, to memcached handling, db optimizations, server stack, web server tuning, code deploying, hosting options and much much more. Youtube Channel : http://www.youtube.com/user/OurPHPIndonesia Twitter : @php_indonesia NOTE: Rules for Wall posting: https://www.facebook.com/groups/35688476100/doc/10151597056316101/ Daftar Keanggotaan : http://www.facebook.com/groups/35688476100/doc/10150671770741101/ 
Marketing Mobile Apps

This online course focuses on marketing efforts that will increase your app's exposure and establish a mobile app marketing plan. Enroll today for $99.
From our sponsors
[ASK] permisi numpang tanya master, misal aku biki...
Sep 6th 2013, 03:43, by Faradilla Naily Jihan

Faradilla Naily Jihan 3:43am Sep 6
[ASK]
permisi numpang tanya master, misal aku bikin textbox biar bisa dimasukin angka doang gmn ya?

Fariz Yoga Syahputra 3:46am Sep 6
isNaN

Faradilla Naily Jihan 3:47am Sep 6
maksudnya?

Ibenx Sisare 3:51am Sep 6
pake JS gan untuk membatasi supaya angka saja

Faradilla Naily Jihan 3:54am Sep 6
Oke makasi gan :)

Muhamad Jafar Sidik 3:59am Sep 6
paka jquery validator gan,

Fariz Yoga Syahputra 4:00am Sep 6
pake script biasa juga bisa kayanya dengan menggunakan isNaN fungsi singkatan dari is not a number dari javascript

Faradilla Naily Jihan 4:03am Sep 6
oke gan makasi referensinya, ntar tak coba :)

Fajar Ramdhan Priadi 4:06am Sep 6
contoh dari saya <input type="text" class="form-control" id="number" name="number" placeholder="Valid Phone Number" onkeyup="foo(this)" required="required" />
<?include'number.js';?>

untuk script number.jsnya disini
<script>
function foo(obj){
if(obj.value != obj.value.replace(/[^0-9]/g,"")){
// the if is removeable if you don't want a message.

obj.value = obj.value.replace(/[^0-9]/g,"");
// strip all text and such.
obj.focus();
// ensure it keeps focus.
alert("Only Enter Numbers !!");
// your message.
};
// remove this }; if your not having the if.
};
</script>

Faradilla Naily Jihan 4:33am Sep 6
makasi gan

Fajar Ramdhan Priadi 4:34am Sep 6
sama" gan semoga sukses

You are receiving this email because you subscribed to this feed at blogtrottr.com.

If you no longer wish to receive these emails, you can unsubscribe from this feed, or manage all your subscriptions

PHP Indonesia - Facebook: gan mau tanya nih http://pastebin.com/HB58bjhX itu...

PHP Indonesia - Facebook
PHP Indonesia is a community for everyone that loves PHP. Our focus is in the PHP world but our topics encompass the entire LAMP stack. Topics include PHP coding, to memcached handling, db optimizations, server stack, web server tuning, code deploying, hosting options and much much more. Youtube Channel : http://www.youtube.com/user/OurPHPIndonesia Twitter : @php_indonesia NOTE: Rules for Wall posting: https://www.facebook.com/groups/35688476100/doc/10151597056316101/ Daftar Keanggotaan : http://www.facebook.com/groups/35688476100/doc/10150671770741101/ 
Marketing Mobile Apps

This online course focuses on marketing efforts that will increase your app's exposure and establish a mobile app marketing plan. Enroll today for $99.
From our sponsors
gan mau tanya nih http://pastebin.com/HB58bjhX itu...
Sep 6th 2013, 03:44, by Fajar Ramdhan Priadi

Fajar Ramdhan Priadi 3:44am Sep 6
gan mau tanya nih
http://pastebin.com/HB58bjhX
itu yang <span class='label label-danger'>$a</span> kalau statusnya Awaiting pengen classnya danger kalau statusnya Confirmation pengen classnya primary itu gmana yah ? ane nyobain pake <?if ($_GET['status'] == "awaiting"){ ?> kok gak bisa yah :(

Muhamad Jafar Sidik 4:00am Sep 6
izin nyimak dulu

Fajar Ramdhan Priadi 4:01am Sep 6
minta tolong banget gan :(

Muhamad Jafar Sidik 4:02am Sep 6
di db nya ada status apa ja gan?

Fajar Ramdhan Priadi 4:03am Sep 6
kalau db yang Status cuma Awaiting ama Confirmation

Muhamad Jafar Sidik 4:07am Sep 6
if($a == "Awaiting"){
echo "<span class='label label-danger'>$a</span>"
}else{
echo "<span class='label label-primary'>$a</span>"
}

Fajar Ramdhan Priadi 4:07am Sep 6
di dalem echo bisa di kasih echo gan ?

Muhamad Jafar Sidik 4:08am Sep 6
ok deh nih yang full nya.

Muhamad Jafar Sidik 4:09am Sep 6
echo "<tbody>
<tr>
<td>$no</td>
<td>$b</td>
<td>$c</td>
<td>$d</td>
<td>$e</td>
<td>$f</td>
<td>$g</td>
<td>$h</td>
<td>$i</td>
<td>$j</td>
<td>
";
if($a == "Awaiting"){
echo "<span class='label label-danger'>$a</span>";
}else{
echo "<span class='label label-primary'>$a</span>";
}
echo"
</td>
<td>
<a class='label label-primary' href='edit-order.php?uid=$abc&status=$a'>[Edit]</a>
|<a class='label label-primary' href='delete.php?uid=$abc'>[Delete]</a>
</td>
</tr>
</tbody>";

Fajar Ramdhan Priadi 4:09am Sep 6
Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in C:\xampp\htdocs\lego\en\edit-order.php on line 146

Muhamad Jafar Sidik 4:10am Sep 6
coba di pastebin lagi gan yang agan coding

Muhamad Jafar Sidik 4:11am Sep 6
146 tuh baris yang mana gan?

Fajar Ramdhan Priadi 4:11am Sep 6
bentar semua scriptnya ane pastebin lagi biar gak pusing

Muhamad Jafar Sidik 4:12am Sep 6
if($a == "Awaiting"){
echo "<span class='label label-danger'>".$a."</span>";
}else{
echo "<span class='label label-primary'>".$a."</span>";
}

Muhamad Jafar Sidik 4:12am Sep 6
cobain yang itu maaf tadi g ada tanda pemisah

Fajar Ramdhan Priadi 4:13am Sep 6
sama error 146 gan :'( Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in C:\xampp\htdocs\lego\en\edit-order.php on line 146

Fajar Ramdhan Priadi 4:13am Sep 6
nih gan pastebin semua script nya http://pastebin.com/f2idPvjD

Muhamad Jafar Sidik 4:15am Sep 6
ok sebentar

Muhamad Jafar Sidik 4:24am Sep 6
nih gan http://pastebin.com/B6RDzC1Z

Fajar Ramdhan Priadi 4:27am Sep 6
wah makasih banget gan jalan scriptnya

Muhamad Jafar Sidik 4:27am Sep 6
ok gan sip.

Fajar Ramdhan Priadi 4:28am Sep 6
Problem solved by Muhamad Jafar Sidik Terimakasih gan !!

You are receiving this email because you subscribed to this feed at blogtrottr.com.

If you no longer wish to receive these emails, you can unsubscribe from this feed, or manage all your subscriptions