Adminer (formerly phpMinAdmin) is a full-featured MySQL management tool written in PHP. Conversely to phpMyAdmin, it consist of a single file ready to deploy to the target server
Sep 03
Aug 27
Jun 04
mysql_insert_id()
Jun 04
mysql_affected_rows()
May 28
<?
echo ($a == 0 ? "zero" : "not zero");
?>
echo ($a == 0 ? "zero" : "not zero");
?>
May 28
<?php
$PK = "PrimaryID";
$$PK = "100034";
echo $PrimaryID; // 100034
echo $$PK; // 100034
?>
$PK = "PrimaryID";
$$PK = "100034";
echo $PrimaryID; // 100034
echo $$PK; // 100034
?>
May 28
<?
define("VERSION", 2);
echo "Current version is " . VERSION;
?>
define("VERSION", 2);
echo "Current version is " . VERSION;
?>
Jul 27
<?
$USERNAME="user";
$PASSWORD="test";
$USERNAME="user";
$PASSWORD="test";
if ($PHP_AUTH_PW!=$PASSWORD || $PHP_AUTH_USER!=$USERNAME){
header('WWW-Authenticate: Basic realm="secure content"');
header('HTTP/1.0 401 Unauthorized');
echo "Unauthorized";
exit;
}
?>
Jul 24
<?
switch ($id) {
case "1":
$caption = "Caption 1";
$content = "Content 1";
break;
switch ($id) {
case "1":
$caption = "Caption 1";
$content = "Content 1";
break;
case "2":
$caption = "Caption 2";
$content = "Content 2";
break;
default:
$caption = "Default caption";
$content = "Default content";
}
?>


Recent Comments