Selasa, 15 November 2016

PHP

Pengertian PHP




PHP adalah singkatan dari  Personal Home  Page. Sesuai dengan namanya PHP juga digunakan untuk membuat website pribadi. Dalam beberapa tahun perkembangannya, PHP juga menjadi bahasa pemograman web yang powerful dan tidak hanya digunkan untuk membuat halaman sederhana. Tetapi saat ini, PHP adalah singkatan dari Hypertext Pre Processor, sebuah kepanjangan rekursif yakni permainan kata dimana kepanjangannya terdiri dari singkatan itu sendiri.


PHP dikembangkan pada tahun 1995 oleh Rasmus Lerdorf, dan sekarang dikelola oleh The PHP Group. Situs resmi php di http://www.php.net


Sintaksis Dasar PHP

PHP hanya mengeksekusi kode yang ditulis dalam pembatas sebagaimana ditentukan oleh dasar sintak php. Pembatas yang paling umum adalah "<?php" untuk membuka dan "?>" untuk menutup kode php. Tujuan dari pembatas ini adalah  untuk memisahkan kode php dari kode diluar php, seperti html,javascript.


Ada 8 Tipe php yakni sbg :

1. Integer
2. Boolean
3. String
4. Objek
5. Array
6. Null
7. Nill
8. Float

Contoh penggunaan kode Integer :

<?ph
       $desimal = 3
       echo " Ini bilangan desimal ".$desimal;
?>


Contoh penggunaan kode Float :

<?php 
      $a=3,
      $b=4,
      $c= $a + $b,
      echo "hasilnya adalah...".$c
      echo <"br">;
      echo  ("hasil dari $a + $b adalah.....". $c;
?>

Contoh penggunaan kode Float :

<?php
      $string1 = "Hari ini hari Selasa"
      $string2 = "Besok adalah hari Rabu"
      echo $string1;
echo <"br">;
echo $string2;
echo ("Besok adalah Hari Rabu");
?>


Senin, 26 Oktober 2015

Lirik lagu Christina Perri - Jar Of hearts

I know I can’t take one more step towards you
Cause all that’s waiting is regret
And don’t you know I’m not your ghost anymore
You lost the love
I loved the most


I learned to live, half a life
And now you want me one more time
Who do you think you are
Running round leaving scars
Collecting your jar of hearts
And tearing love apart


You’re gonna catch a cold
From the ice inside your soul
So don’t come back for me
Who do you think you are


I hear you’re asking all around
If I am anywhere to be found
But I have grown too strong
To ever fall back in your arms
I learned to live, half a life
And now you want me one more time


Who do you think you are
Running round leaving scars
Collecting your jar of hearts
And tearing love apart


You’re gonna catch a cold
From the ice inside your soul
So don’t come back for me
Who do you think you are


It took so long just to feel alright
Remember how to put back the light in my eyes
I wish I had missed the first time that we kissed
Cause you broke all your promises
And now you’re back
You don’t get to get me back.....


Who do you think you are
Running round leaving scars
Collecting your jar of hearts
And tearing love apart...


You’re gonna catch a cold
From the ice inside your soul
So don’t come back for me
Don’t come back at all


And who do you think you are?
Running round leaving scars
Collecting your jar of hearts
And tearing love apart........


You’re gonna catch a cold
From the ice inside your soul
Don’t come back for me
Don’t come back at all
Who do you think you are?

Who do you think you are?

Who do you think you are?

Lirik lagu Maddi Jane - Impossible

I remember years agoSomeone told me I should takeCaution when it comes to loveI did
And you were strong and I was not
My illusion, my mistakeI was careless, I forgotI did
And now when all is doneThere is nothing to sayYou have gone and so effortlessly
You have wonYou can go ahead tell them
Tell them all I know nowShout it from the roof topsWrite it on the sky lineAll we had is gone now
Tell them I was happyAnd my heart is brokenAll my scars are openTell them what I hoped would beImpossible, impossibleImpossible, impossible
Falling out of love is hardFalling for betrayal is worseBroken trust and broken heartsI know, I know...Thinking all you need is thereBuilding faith on love and wordsEmpty promises will wearI know, I know...
And now when all is doneThere is nothing to say
And if you're done with embarrassing meOn your own you can go ahead tell them
Tell them all I know nowShout it from the roof topsWrite it on the sky lineAll we had is gone now
Tell them I was happyAnd my heart is brokenAll my scars are openTell them what I hoped would beImpossible, impossibleImpossible, impossible
I remember years agoSomeone told me I should takeCaution when it comes to loveI did
Tell them all I know nowShout it from the roof topsWrite it on the sky lineAll we had is gone now
Tell them I was happyAnd my heart is brokenOh, oh, oh, oh, oh, oh, hoped would beImpossible, impossibleImpossible, impossibleImpossible, impossibleImpossible, impossible

Senin, 19 Oktober 2015

Lirik lagu Yura - Berawal dari Tatap

Berawal dari tatap 
Indah senyumu memikat 
Memikat hatiku yang hampa lara

 
Senyum membawa tawa
Tawa membawa cerita
Cerita kasih indah tentang kita 


Terkadang ku ragu
Kadang tak percaya ooohhhh
Tapi kuyakin kau milikkuu


Reff:

Kau membuatku bahagia
Disaat hati ini terluka
Kau membuatku tertawa
Disaat hati ini terbawa
Terbawa oleh cintamu untukku, untuk kita

Terkadang ku ragu
Kadang tak percaya ooohhhh
Tapi ku yakin kau milikku


Kau membuatku bahagia 
Disaat hati ini terluka
Kau membuatku tertawa
Disaat hati ini terbawa
Terbawa oleh cintamu untukku, untuk kita


Kau membuatku bahagia 
Disaat hati ini terluka
Kau membuatku tertawa
Disaat hati ini terbawa
Terbawa oleh cintamu untukku, untuk kita

Lirik lagu Yura - Cinta dan Rahasia

Terakhir kutatap mata indahmu dibawah bintang-bintang
Terbelah hatiku antara cinta dan rahasia
Kucinta padamu namun kau milik sahabatku 
Dilema hatiku andai kubisa berkata sejujurnya


Reff:

Jangan....
Kau pilih dia pilihlah aku yang mampu mencintamu lebih dari dia
Bukan kuingin merebutmu dari sahabatku
Namun kau tau cinta tak bisa tak bisa kau salahkan


Glenn :

oohhh...
Kucinta padamu namun kau milik sahabatku 
Dilema hatiku andai kubisa berkata sejujurnya


Jangan....
Kau pilih dia pilihlah aku yang mampu mencintamu lebih dari dia
Bukan kuingin merebutmu dari sahabatku
Namun kau tau cinta tak bisa tak bisa kau salahkan

oooohhh.. oh.. ooo...


Back to reff :

Ehmmm...
Jangan.... (jangan)
Kau pilih dia (kau pilih dia)
Pilihlah aku yang mampu mencintamu lebih dari dia
Bukan kuingin merebutmu dari sahabatku
Namun kau tau cinta tak bisa tak bisa kau salahkan

Glenn ft Yura :

Bukan kuingin merebutmu dari sahabatku
Namun kau tau cinta tak bisa tak bisa kau salahkan
oohhhh... huuuuu...
Tak bisa kau salahkan.. 
ouuuhhh... 
aaahhhhahaaa....
Tak bisa kau salahkan....