Results: 1580
Notes
  • Newest first
  • Oldest first
  • Newest first(All)
  • Oldest first(All)
<?php

$baks = "bakari";
$country = "georgia";
$x = 10;
$y = 12;
$baksage = $x + $y;
$language = "php";
echo 'My name is '.$baks.', I am from '.$country.  ' and my age is '.$baksage. ', I am learning '  .$language. "!";
by Bakari Datiashvili
2 years ago
0
PHP
Object Oriented PHP Tutorial
1
<?php $x = 30; $y = 10; function myTest() { global $x, $y; $y = $x / $y; } myTest(); echo $y; // outputs 15 ?>
by Luka Okujava
2 years ago
0
PHP
1
Hello world CODE
➤ The
echo
is a statement, which is used to display the output. For instance :
echo "Hello world! ";
echo "I am Prgorammer, ","I have no life."." Hola muchachos:))";
The text must be enclosed in single ( ' ' ) or double ( " " ) quotation marks and must also end with a semicolon ( ; ) . Also, the echo statement can output multiple strings separated by commas and dots. ! PHP statements end with semicolons (;).
by Levani Makhareishvili
2 years ago
0
PHP
echo
1
These arithmetic operators are easy to learn, it was not difficult for me to do it, I was able to do it easily. CODE
by nikoloz nachkebia
2 years ago
0
PHP
Arithmetic Operators
1
by nikoloz nachkebia
2 years ago
0
PHP
hello students
1
by nikoloz nachkebia
2 years ago
0
PHP
php variables
1
by nikoloz nachkebia
2 years ago
0
PHP
Rules to create PHP variable
1
by დავით ქუთათელაძე
2 years ago
0
PHP
php variables
1
A variable starts with the
$
sign. For instance:
$firstname = "Levani"; 
$lastname = "Makhareishvili";
$age = 19;
• Assignment Operator (=) is used to assign the value to a variable. • the variable $firstname will hold the value "Levani", • the variable $lastname will hold the value "Makhareishvili" and so on. To output the variable on the screen, we write the name of the variable:
echo $age;
When we want to output the value of the variable together with the text, we write the name of the variable in double quotes or after the text we write a comma or a dot and then the name of the variable:
echo "My name is $firstname $lastname, I am $age years old";
echo "My name is ",$firstname," ",$lastname,", I am ".$age. " years old.";
! PHP statements end with semicolons (;).
by Levani Makhareishvili
2 years ago
0
PHP
variables
1
Results: 1580