Follow along with the video below to see how to install our site as a web app on your home screen.
Anmerkung: This feature may not be available in some browsers.
$a = 3;
function add($b, &$a) {
return $a+$b;
}
echo add(5, $a);
$sql = new MySQL();
require("Seite2")
$tracker = new Tracker();
class Tracker() {
function Tracker() {
global $sql;
$sql->Query("Abfrage an DB",true);
}
}
class SQL {
private static $instance = null;
private __constructor()
{
mysql_connect(...)
self::$instance = $this;
}
public static function getInstance()
{
if (self::$instance == null) {
new SQL;
}
return self::$instance;
}
}
$mysql = mysql_connect(...);
global $mysql;
function($bla)
{
bla
}