NotesWhat is notes.io?

Notes brand slogan

Notes - notes.io

XAMPP -
SERVICES:
APACHE
MYSQL

hddocs - file e php

tipet e te dhenave
string
int
float
boolean
etj

float jan nr me presje
double dhe float ndryshon numri i numrave pas presjes dhjetore

komanda var_dump($x);
afishon dhe tipin e te dhenes jo vetem te dhenen
tipi boolean true ose false
nese i jep
echo true;
afishon 1
echo false
nuk afishon asgje (NULLL)

deklarimi i vektorit ne php
$arr1 = array ("vlere".2.5);
$arr2 = ["vlere" .2.5];

shfaqet vektori me
var_dump($arr1)
ose
print_r ($arr2)
jo me echo



$arr1 = array ("vlere".2.5);
$arr2 = ['celes' => "vlere" .2.5, 'c2' => true, 3];
rregulat e e celsave te jen integer dhe te jen unike

per te aksesuar vetem nje vler teke
echo $arr2[1(i thrret me index)];


Avantazhet e perdorimit te klasave per grupim
konstruktori eshte metoda e par qe ekzekutohet ne momentin qe krijohet nje objekt i ri i klases

<?php

class Test{
private: $a; (mund te aksesohen brenda per brenda klases )
protected $b; (mund te perdoret brenda klases ose dhe nga klasat qe zgjerojn kte klas )
public function __construct(){ (mund te perdoret dhe nga klasa te tjera fillimisht duke lidhur filet me njera tjeter)
$this->a = 'test';
this -> afisho();
}
private function afisho(){
echo $this->a;
}

}

$obj = new Test();


te dhenat e tipit null
strukturat e kontrollit




if else
switch case

$a = null;

if($a) [tregon nese a me ekziston kjo variabel dhe nuk eshte null]{

echo 'a ekziston dhe nuk eshte null';
}
else{
echo 'a nuk ekziston ';
}


$time = date (format: "d-m-Y h:i:s");
echo $time;
if ($time <= 10){
echo 'Miremengjes' ;
}
elseif ($time <= 16) {
echo ' Miredita ' ;
}
else{
echo "Mirembrema";
}





WEB
w3schools.com


cikli for mban 3 argumente dhe i ndajm me """" ; """""
(init counter; test counter; increment)
perdoret per reduktimin e perseritjes se kodit

foreach ($array as $value) {
code to executed;
}
___________________________________________________________________________________________________________________________

     
 
what is notes.io
 

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

     
 
Shortened Note Link
 
 
Looding Image
 
     
 
Long File
 
 

For written notes was greater than 18KB Unable to shorten.

To be smaller than 18KB, please organize your notes, or sign in.