echo getDay("2022-02-22");
function getDay($tgl){
$nm= date('l', strtotime($tgl));
$hari="Minggu";
if($nm=="Monday"){$hari="Senin";}
else if($nm=="Tuesday"){$hari="Selasa";}
else if($nm=="Wednesday"){$hari="Rabu";}
else if($nm=="Thurstday"){$hari="Kamis";}
else if($nm=="Friday"){$hari="Jumat";}
else if($nm=="Saturday"){$hari="Sabtu";}
else if($nm=="Sunday"){$hari="Minggu";}
return $hari;
}
*Basic Code PHP Latihan di Rumah*
Implmntasi File Latihan dan Tutorial CRUD Web dan Database
https://drive.google.com/file/d/1cp2AYZOL8KrOEovSib5Ys-tp4lgVriV_/view?usp=sharing
Latihan 1/calculator PHP dan HTML
File latihan:https://drive.google.com/file/d/10a3pmBFm0gtGD_ziJHY0_Fpr6OvxNlnb/view?usp=sharing
Video:
https://drive.google.com/file/d/1Iqy2qzQMn8Q3N4OsBGz7ocCTdpvT2Qwt/view?usp=sharing
https://drive.google.com/file/d/1Iqy2qzQMn8Q3N4OsBGz7ocCTdpvT2Qwt/view?usp=sharing
Latihan 2/string pada PHP dan HTML
File latihan:
https://drive.google.com/file/d/1R8D6RjaGxTEsgU_SD0ExgqA0Jz55cdQJ/view?usp=sharing
Video:
https://drive.google.com/file/d/1Atxmwqqxnr1CmOwbrQKr17XlJLN06lkp/view?usp=sharing
Latihan 3:/ CRUDS Database1
File latihan:
https://drive.google.com/file/d/1ddQ1rYiuuHpbnv9NVCwN0e-PFWoYGsgI/view?usp=sharing
Video:
https://drive.google.com/file/d/1tmFRsIiXLqVu253gMf1VtLpFjNT7t2tc/view?usp=sharing
Latihan 4:/ CRUDS Database2
File latihan:
https://drive.google.com/file/d/11MKTwcclqTnV2VO9YEldBzIQlBaC7FHe/view?usp=sharing
Video:
https://drive.google.com/file/d/1ZQl0Zqa0F_Mgx6MMNp9-njUUAXPbQyle/view?usp=sharing
https://drive.google.com/file/d/1mfOvWQvMaWfI8sE2xiM4h0xCthBL9gfL/view?usp=sharing
Latihan 5: membuat Grafik
Video https://drive.google.com/file/d/1wIA7jMu3ouz_C9ih-LbKIvk23_O-wGC6/view?usp=sharing
Gunakan File latihan Latihan 4
Latihan 6: membuat Index
Video https://drive.google.com/file/d/1WktCPDhPx6tnPArtnwxB_APlESnox4vD/view?usp=sharing
Gunakan File latihan Latihan 4
Latihan 7: login session1
https://drive.google.com/file/d/14ArHlu7M_oeuf1PZB8BIwjR5Zh6aeBym/view?usp=sharing
login session lanjutan:
https://drive.google.com/file/d/1NNdYML8oNebf-NM-zukHZElkPeSh6lCN/view?usp=sharing
File Latihan:
baiknya buat database baru, lalu import database yg disertakan...
lalu nama database di file koneksi.php diubah sesuai nama database yang baru tsb
https://drive.google.com/file/d/1jksuvWq080Y8lax7lYSxBLFtQUUCYeGF/view?usp=sharing
Cara Impor database
https://drive.google.com/file/d/1vvJkOkrXuC2gmUtZWsGJEVHXnuKMWa-9/view?usp=sharing
Tidak ada komentar:
Posting Komentar