Notes
Notes - notes.io |
_________________________________________________________________________________________________________________________________
PERFSHIRJA E DOKUMENTAVE BRENDA PHP
MIGRIMET PERDOREN PER CDO NDYRSHIME QE BEHET NE DB KRIJOHET NJE SKEDAR MIGRIMI DHE I PASOHET NJE PUNTORI I CILI PO PUNON ME NJE SKEDAR TE CAKTUAR
git ----What is Git in PHP?
All PHP development is done through a distributed revision control system called Git. This helps us track changes and it makes it possible for people located in all corners of the world to collaborate on a project without having to worry about stepping on each others' toes.
JIRA SFOTWARE
PERSONI I CILI ESHTE PROJECT MANAGER KRIJON KOLONAT QE JAN TE NDRYSHUSHME EPR SECILIN PROJEKT
KRIJOHEN TASKET PER SECILIN
REVIEW TESTING....
TO DO... (CLASSROOM)
__________________________________________________________________________________________________________________________________________
PER TE BERE BASHKIMIN MES FILEVE KOMANDA INCLUDE DHE KOMANDA REQUIRE
<!DOCTYPE html>
<html>
<body>
<?php
include 'controller/function.php'; ----
$a = 5;
$b = 6;
function FaktorialRec($a){
if($a==1){
return 1;
}
return $a * FaktorialRec($a - 1)
}
echo FaktorialRec(5);
?>
</body>
</html>
_______________________________________________________________
Vektoret ne PHP (arrays)
perdorimi i fjales kyce array
perdorimi i kllapave katrore (deklarimi i vektoreve)
<?php
1. $a = array();
2. $b = [];
?>
celsat jan ose string ose int
nqs duam ti vendosim booleane del error
<!DOCTYPE html>
<html>
<body>
<?php
$b = [
1 =>
['benz'=>
[
'biciklet',
'motorr'
],
'bmw'],
1,
'celes2'=>[
'apple',
'orange'
]
];
echo $b[1]['benz'][0];
?>
</body>
</html>
thellsia e ktij vektori eshte 2
<!DOCTYPE html>
<html>
<body>
<?php
$b = [
1 =>
['benz'=>
[
'biciklet',
'motorr'
],
'bmw'],
1,
'celes2'=>[
'apple',
'orange'
]
];
echo $b[celes2][1];
?>
</body>
</html>
Rezultati: orange
_____________________________________________________________________________
shtimi i elementeve
array_push shton nje ose disa element ne fund te array
<!DOCTYPE html>
<html>
<body>
<?php
$b = [
1 =>
['benz'=>
[
'biciklet',
'motorr'
],
'bmw'],
1,
'celes2'=>[
'apple',
'orange'
]
];
//Metoda 1
$b['celes3'] = 25;
//Metoda 2
array_push($b, 26, 27, 28); // i shton ne fund
//Metoda 3
array_unshift($b, 10, 11, 12); // i shton ne fund
print_r($b);
?>
</body>
</html>
Shtimi i vlerave ne vektor
array_pop($b); // fshin vetem vleren e fundit te vektorit
array_shift($b); // fshin vleren e par te vektorit
//unset($b); // fshin komplet ekzistenca e variablit
unset($b[2]); // fshin nje vler brenda vektorit
![]() |
Notes is a web-based application for online taking notes. You can take your notes and share with others people. If you like taking long notes, notes.io is designed for you. To date, over 8,000,000,000+ notes created and continuing...
With notes.io;
- * You can take a note from anywhere and any device with internet connection.
- * You can share the notes in social platforms (YouTube, Facebook, Twitter, instagram etc.).
- * You can quickly share your contents without website, blog and e-mail.
- * You don't need to create any Account to share a note. As you wish you can use quick, easy and best shortened notes with sms, websites, e-mail, or messaging services (WhatsApp, iMessage, Telegram, Signal).
- * Notes.io has fabulous infrastructure design for a short link and allows you to share the note as an easy and understandable link.
Fast: Notes.io is built for speed and performance. You can take a notes quickly and browse your archive.
Easy: Notes.io doesn’t require installation. Just write and share note!
Short: Notes.io’s url just 8 character. You’ll get shorten link of your note when you want to share. (Ex: notes.io/q )
Free: Notes.io works for 14 years and has been free since the day it was started.
You immediately create your first note and start sharing with the ones you wish. If you want to contact us, you can use the following communication channels;
Email: [email protected]
Twitter: http://twitter.com/notesio
Instagram: http://instagram.com/notes.io
Facebook: http://facebook.com/notesio
Regards;
Notes.io Team
