PHP -тестовая страница
<?php
// Show all information, defaults to INFO_ALL
phpinfo();
?>
Ivan The Terrible
<?php
// Show all information, defaults to INFO_ALL
phpinfo();
?>
IF("{ADMIN_TAX_TYPE}"!=""){ {ADMIN_TAX_TYPE} {ELSE} {LANG_TAX_ID}{:IF}
$sql = "CREATE DATABASE DB_test";
if(mysqli_query($conn, $sql)){
echo "Database was successfully created.";
} else {
echo "ERROR: Could not able to execute $sql. " .
mysqli_error($conn);
}
<?php
class Employees
{
public $empName;
public function getEmpName()
{
return $this->empName;
}
}
$employee = new Employees();
$employee->empName = 'Bob';
echo $customer->getEmpName();
?>