<html> <head> <meta /> <script /> </head> <body> <div> <div /> <div /> </div> </body> </html>
<div id="my-id" class="my-class"> <div>my text</div> </div>
<h1>Hello, %user%</h1>
<h1>Hello, Mooha</h1>
<html> <head> </head> <body> <h1>%title%</h1> <div>%content%</div> </body> </html>
<html> <head> </head> <body> <h1>My article title</h1> <div>My article content</div> </body> </html>
<?php print abs((1+2)-5); ?>
$data = 2; switch ($data) { case "1": // $result = "it was 1"; break; case "2":// $result = str_replace("foo", "2", "in was foo"); break; case "3": // $result = "it was 3"; break; default: $result=false; } var_dump($result);
<p>first paragraph</p> <p>second paragraph</p> <p>third paragraph</p>
[ {"title":"first title","content":"first content"}, {"title":"second title","content":"second content"} ]
%title% "title" . %content% "content" . :
<div> <h1>first title</h1> <p>first content</p> </div> <div> <h1>second title</h1> <p>second content</p> </div>
Copy foreach , . for, , , ( ).
MySQL
β , β SELECT, - . , "*", :
SELECT * FROM `authors`
JSON. "" :
[ { "id": "1", "Name": "Iain Menzies Banks", "Birthday": "1954-02-16" }, { "id": "2", "Name": "Charles Michael Palahniuk", "Birthday": "1962-02-21" } ]
, :
:
["Iain Menzies Banks", "Charles Michael Palahniuk"]
SQL , . :
() :
SELECT * FROM `authors` WHERE id=1
:
[ { "id": "1", "Name": "Iain Menzies Banks", "Birthday": "1954-02-16" } ]
() :
SELECT * FROM `authors` WHERE Name LIKE '%Banks%'
:
SELECT * FROM `authors` WHERE (`Birthday` < '1990-01-01' AND `Birthday` > '1920-01-01') ORDER BY `Name` ASC
AND WHERE, ( , ORDER BY)
INSERT, UPDATE DELETE -, .
INSERT :
INSERT INTO `authors` (`id`, `Name`, `Birthday`) VALUES ('1', 'Iain Menzies Banks', '1954-02-16')
UPDATE:
UPDATE `authors` SET `Name`='Iain Banks', `Birthday`='1954-02-17' WHERE `id`='1'
DELETE:
DELETE FROM `authors` WHERE `Birthday`<'1954-02-17'
PDO.
, JOIN . , SQL . , , , MySQL .
" !"
, , (MySQL, PHP HTML) , :
library.tpl . :
<div> <select> <option value=''>all authors</option> %author-list% </select> </div> <br /> <div>%book-list%</div>
: %author-list% %book-list%. option, . β , β "book block", HTML . , ( jquery library.tpl).
%author-list% Copy ("Author Copy"), "authors" "option", , "value" id. "Author Copy" :
<option value='1'>Iain Menzies Banks</option> <option value='2'>Charles Michael Palahniuk</option> <option value='3'>Mikhail Bulgakov</option>
"book block" :
<div class='author-%author-id%'> <img width='100' src='images/%image%' align='left' /> <b>%title%</b> by <b>%author%</b> <br /> ISBN: %isbn%<br /> <small>%description%</small> <br clear='all'/> </div>
"books" "authors". "authors" . , "books".
:
. . β , , . :
β , . . -. , . , . , . (include), , . , . MySQL.
β PHP . β , . . , , , ( ).
β , . , . , , .
. -. , β Mooha.net .
:
HTML5 Canvas Javascript ( ) JQuery 2.0 ( ) Codemirror ( ) CKEditor ( ) Spectrum Colorpicker ( ) jQuery File Tree Plugin ( )
:
Apache 2.2.22 PHP 5.4.3 MySQL 5.5.24
%title% "title" . %content% "content" . :
<div> <h1>first title</h1> <p>first content</p> </div> <div> <h1>second title</h1> <p>second content</p> </div>
Copy foreach , . for, , , ( ).
MySQL

β , β SELECT, - . , "*", :
SELECT * FROM `authors`
JSON. "" :
[ { "id": "1", "Name": "Iain Menzies Banks", "Birthday": "1954-02-16" }, { "id": "2", "Name": "Charles Michael Palahniuk", "Birthday": "1962-02-21" } ]
, :

:
["Iain Menzies Banks", "Charles Michael Palahniuk"]
SQL , . :

() :
SELECT * FROM `authors` WHERE id=1
:
[ { "id": "1", "Name": "Iain Menzies Banks", "Birthday": "1954-02-16" } ]
() :
SELECT * FROM `authors` WHERE Name LIKE '%Banks%'
:

SELECT * FROM `authors` WHERE (`Birthday` < '1990-01-01' AND `Birthday` > '1920-01-01') ORDER BY `Name` ASC
AND WHERE, ( , ORDER BY)
INSERT, UPDATE DELETE -, .
INSERT :

INSERT INTO `authors` (`id`, `Name`, `Birthday`) VALUES ('1', 'Iain Menzies Banks', '1954-02-16')
UPDATE:

UPDATE `authors` SET `Name`='Iain Banks', `Birthday`='1954-02-17' WHERE `id`='1'
DELETE:

DELETE FROM `authors` WHERE `Birthday`<'1954-02-17'
PDO.
, JOIN . , SQL . , , , MySQL .
" !"
, , (MySQL, PHP HTML) , :

library.tpl . :
<div> <select> <option value=''>all authors</option> %author-list% </select> </div> <br /> <div>%book-list%</div>
: %author-list% %book-list%. option, . β , β "book block", HTML . , ( jquery library.tpl).
%author-list% Copy ("Author Copy"), "authors" "option", , "value" id. "Author Copy" :
<option value='1'>Iain Menzies Banks</option> <option value='2'>Charles Michael Palahniuk</option> <option value='3'>Mikhail Bulgakov</option>
"book block" :
<div class='author-%author-id%'> <img width='100' src='images/%image%' align='left' /> <b>%title%</b> by <b>%author%</b> <br /> ISBN: %isbn%<br /> <small>%description%</small> <br clear='all'/> </div>
"books" "authors". "authors" . , "books".
:
. . β , , . :
β , . . -. , . , . , . (include), , . , . MySQL.
β PHP . β , . . , , , ( ).
β , . , . , , .
. -. , β Mooha.net .
:
HTML5 Canvas Javascript ( ) JQuery 2.0 ( ) Codemirror ( ) CKEditor ( ) Spectrum Colorpicker ( ) jQuery File Tree Plugin ( )
:
Apache 2.2.22 PHP 5.4.3 MySQL 5.5.24
%title% "title" . %content% "content" . :
<div> <h1>first title</h1> <p>first content</p> </div> <div> <h1>second title</h1> <p>second content</p> </div>
Copy foreach , . for, , , ( ).
MySQL

β , β SELECT, - . , "*", :
SELECT * FROM `authors`
JSON. "" :
[ { "id": "1", "Name": "Iain Menzies Banks", "Birthday": "1954-02-16" }, { "id": "2", "Name": "Charles Michael Palahniuk", "Birthday": "1962-02-21" } ]
, :

:
["Iain Menzies Banks", "Charles Michael Palahniuk"]
SQL , . :

() :
SELECT * FROM `authors` WHERE id=1
:
[ { "id": "1", "Name": "Iain Menzies Banks", "Birthday": "1954-02-16" } ]
() :
SELECT * FROM `authors` WHERE Name LIKE '%Banks%'
:

SELECT * FROM `authors` WHERE (`Birthday` < '1990-01-01' AND `Birthday` > '1920-01-01') ORDER BY `Name` ASC
AND WHERE, ( , ORDER BY)
INSERT, UPDATE DELETE -, .
INSERT :

INSERT INTO `authors` (`id`, `Name`, `Birthday`) VALUES ('1', 'Iain Menzies Banks', '1954-02-16')
UPDATE:

UPDATE `authors` SET `Name`='Iain Banks', `Birthday`='1954-02-17' WHERE `id`='1'
DELETE:

DELETE FROM `authors` WHERE `Birthday`<'1954-02-17'
PDO.
, JOIN . , SQL . , , , MySQL .
" !"
, , (MySQL, PHP HTML) , :

library.tpl . :
<div> <select> <option value=''>all authors</option> %author-list% </select> </div> <br /> <div>%book-list%</div>
: %author-list% %book-list%. option, . β , β "book block", HTML . , ( jquery library.tpl).
%author-list% Copy ("Author Copy"), "authors" "option", , "value" id. "Author Copy" :
<option value='1'>Iain Menzies Banks</option> <option value='2'>Charles Michael Palahniuk</option> <option value='3'>Mikhail Bulgakov</option>
"book block" :
<div class='author-%author-id%'> <img width='100' src='images/%image%' align='left' /> <b>%title%</b> by <b>%author%</b> <br /> ISBN: %isbn%<br /> <small>%description%</small> <br clear='all'/> </div>
"books" "authors". "authors" . , "books".
:
. . β , , . :
β , . . -. , . , . , . (include), , . , . MySQL.
β PHP . β , . . , , , ( ).
β , . , . , , .
. -. , β Mooha.net .
:
HTML5 Canvas Javascript ( ) JQuery 2.0 ( ) Codemirror ( ) CKEditor ( ) Spectrum Colorpicker ( ) jQuery File Tree Plugin ( )
:
Apache 2.2.22 PHP 5.4.3 MySQL 5.5.24
%title% "title" . %content% "content" . :
<div> <h1>first title</h1> <p>first content</p> </div> <div> <h1>second title</h1> <p>second content</p> </div>
Copy foreach , . for, , , ( ).
MySQL

β , β SELECT, - . , "*", :
SELECT * FROM `authors`
JSON. "" :
[ { "id": "1", "Name": "Iain Menzies Banks", "Birthday": "1954-02-16" }, { "id": "2", "Name": "Charles Michael Palahniuk", "Birthday": "1962-02-21" } ]
, :

:
["Iain Menzies Banks", "Charles Michael Palahniuk"]
SQL , . :

() :
SELECT * FROM `authors` WHERE id=1
:
[ { "id": "1", "Name": "Iain Menzies Banks", "Birthday": "1954-02-16" } ]
() :
SELECT * FROM `authors` WHERE Name LIKE '%Banks%'
:

SELECT * FROM `authors` WHERE (`Birthday` < '1990-01-01' AND `Birthday` > '1920-01-01') ORDER BY `Name` ASC
AND WHERE, ( , ORDER BY)
INSERT, UPDATE DELETE -, .
INSERT :

INSERT INTO `authors` (`id`, `Name`, `Birthday`) VALUES ('1', 'Iain Menzies Banks', '1954-02-16')
UPDATE:

UPDATE `authors` SET `Name`='Iain Banks', `Birthday`='1954-02-17' WHERE `id`='1'
DELETE:

DELETE FROM `authors` WHERE `Birthday`<'1954-02-17'
PDO.
, JOIN . , SQL . , , , MySQL .
" !"
, , (MySQL, PHP HTML) , :

library.tpl . :
<div> <select> <option value=''>all authors</option> %author-list% </select> </div> <br /> <div>%book-list%</div>
: %author-list% %book-list%. option, . β , β "book block", HTML . , ( jquery library.tpl).
%author-list% Copy ("Author Copy"), "authors" "option", , "value" id. "Author Copy" :
<option value='1'>Iain Menzies Banks</option> <option value='2'>Charles Michael Palahniuk</option> <option value='3'>Mikhail Bulgakov</option>
"book block" :
<div class='author-%author-id%'> <img width='100' src='images/%image%' align='left' /> <b>%title%</b> by <b>%author%</b> <br /> ISBN: %isbn%<br /> <small>%description%</small> <br clear='all'/> </div>
"books" "authors". "authors" . , "books".
:
. . β , , . :
β , . . -. , . , . , . (include), , . , . MySQL.
β PHP . β , . . , , , ( ).
β , . , . , , .
. -. , β Mooha.net .
:
HTML5 Canvas Javascript ( ) JQuery 2.0 ( ) Codemirror ( ) CKEditor ( ) Spectrum Colorpicker ( ) jQuery File Tree Plugin ( )
:
Apache 2.2.22 PHP 5.4.3 MySQL 5.5.24
%title% "title" . %content% "content" . :
<div> <h1>first title</h1> <p>first content</p> </div> <div> <h1>second title</h1> <p>second content</p> </div>
Copy foreach , . for, , , ( ).
MySQL

β , β SELECT, - . , "*", :
SELECT * FROM `authors`
JSON. "" :
[ { "id": "1", "Name": "Iain Menzies Banks", "Birthday": "1954-02-16" }, { "id": "2", "Name": "Charles Michael Palahniuk", "Birthday": "1962-02-21" } ]
, :

:
["Iain Menzies Banks", "Charles Michael Palahniuk"]
SQL , . :

() :
SELECT * FROM `authors` WHERE id=1
:
[ { "id": "1", "Name": "Iain Menzies Banks", "Birthday": "1954-02-16" } ]
() :
SELECT * FROM `authors` WHERE Name LIKE '%Banks%'
:

SELECT * FROM `authors` WHERE (`Birthday` < '1990-01-01' AND `Birthday` > '1920-01-01') ORDER BY `Name` ASC
AND WHERE, ( , ORDER BY)
INSERT, UPDATE DELETE -, .
INSERT :

INSERT INTO `authors` (`id`, `Name`, `Birthday`) VALUES ('1', 'Iain Menzies Banks', '1954-02-16')
UPDATE:

UPDATE `authors` SET `Name`='Iain Banks', `Birthday`='1954-02-17' WHERE `id`='1'
DELETE:

DELETE FROM `authors` WHERE `Birthday`<'1954-02-17'
PDO.
, JOIN . , SQL . , , , MySQL .
" !"
, , (MySQL, PHP HTML) , :

library.tpl . :
<div> <select> <option value=''>all authors</option> %author-list% </select> </div> <br /> <div>%book-list%</div>
: %author-list% %book-list%. option, . β , β "book block", HTML . , ( jquery library.tpl).
%author-list% Copy ("Author Copy"), "authors" "option", , "value" id. "Author Copy" :
<option value='1'>Iain Menzies Banks</option> <option value='2'>Charles Michael Palahniuk</option> <option value='3'>Mikhail Bulgakov</option>
"book block" :
<div class='author-%author-id%'> <img width='100' src='images/%image%' align='left' /> <b>%title%</b> by <b>%author%</b> <br /> ISBN: %isbn%<br /> <small>%description%</small> <br clear='all'/> </div>
"books" "authors". "authors" . , "books".
:
. . β , , . :
β , . . -. , . , . , . (include), , . , . MySQL.
β PHP . β , . . , , , ( ).
β , . , . , , .
. -. , β Mooha.net .
:
HTML5 Canvas Javascript ( ) JQuery 2.0 ( ) Codemirror ( ) CKEditor ( ) Spectrum Colorpicker ( ) jQuery File Tree Plugin ( )
:
Apache 2.2.22 PHP 5.4.3 MySQL 5.5.24
%title% "title" . %content% "content" . :
<div> <h1>first title</h1> <p>first content</p> </div> <div> <h1>second title</h1> <p>second content</p> </div>
Copy foreach , . for, , , ( ).
MySQL
β , β SELECT, - . , "*", :
SELECT * FROM `authors`
JSON. "" :
[ { "id": "1", "Name": "Iain Menzies Banks", "Birthday": "1954-02-16" }, { "id": "2", "Name": "Charles Michael Palahniuk", "Birthday": "1962-02-21" } ]
, :
:
["Iain Menzies Banks", "Charles Michael Palahniuk"]
SQL , . :
() :
SELECT * FROM `authors` WHERE id=1
:
[ { "id": "1", "Name": "Iain Menzies Banks", "Birthday": "1954-02-16" } ]
() :
SELECT * FROM `authors` WHERE Name LIKE '%Banks%'
:
SELECT * FROM `authors` WHERE (`Birthday` < '1990-01-01' AND `Birthday` > '1920-01-01') ORDER BY `Name` ASC
AND WHERE, ( , ORDER BY)
INSERT, UPDATE DELETE -, .
INSERT :
INSERT INTO `authors` (`id`, `Name`, `Birthday`) VALUES ('1', 'Iain Menzies Banks', '1954-02-16')
UPDATE:
UPDATE `authors` SET `Name`='Iain Banks', `Birthday`='1954-02-17' WHERE `id`='1'
DELETE:
DELETE FROM `authors` WHERE `Birthday`<'1954-02-17'
PDO.
, JOIN . , SQL . , , , MySQL .
" !"
, , (MySQL, PHP HTML) , :
library.tpl . :
<div> <select> <option value=''>all authors</option> %author-list% </select> </div> <br /> <div>%book-list%</div>
: %author-list% %book-list%. option, . β , β "book block", HTML . , ( jquery library.tpl).
%author-list% Copy ("Author Copy"), "authors" "option", , "value" id. "Author Copy" :
<option value='1'>Iain Menzies Banks</option> <option value='2'>Charles Michael Palahniuk</option> <option value='3'>Mikhail Bulgakov</option>
"book block" :
<div class='author-%author-id%'> <img width='100' src='images/%image%' align='left' /> <b>%title%</b> by <b>%author%</b> <br /> ISBN: %isbn%<br /> <small>%description%</small> <br clear='all'/> </div>
"books" "authors". "authors" . , "books".
:
. . β , , . :
β , . . -. , . , . , . (include), , . , . MySQL.
β PHP . β , . . , , , ( ).
β , . , . , , .
. -. , β Mooha.net .
:
HTML5 Canvas Javascript ( ) JQuery 2.0 ( ) Codemirror ( ) CKEditor ( ) Spectrum Colorpicker ( ) jQuery File Tree Plugin ( )
:
Apache 2.2.22 PHP 5.4.3 MySQL 5.5.24
%title% "title" . %content% "content" . :
<div> <h1>first title</h1> <p>first content</p> </div> <div> <h1>second title</h1> <p>second content</p> </div>
Copy foreach , . for, , , ( ).
MySQL

β , β SELECT, - . , "*", :
SELECT * FROM `authors`
JSON. "" :
[ { "id": "1", "Name": "Iain Menzies Banks", "Birthday": "1954-02-16" }, { "id": "2", "Name": "Charles Michael Palahniuk", "Birthday": "1962-02-21" } ]
, :

:
["Iain Menzies Banks", "Charles Michael Palahniuk"]
SQL , . :

() :
SELECT * FROM `authors` WHERE id=1
:
[ { "id": "1", "Name": "Iain Menzies Banks", "Birthday": "1954-02-16" } ]
() :
SELECT * FROM `authors` WHERE Name LIKE '%Banks%'
:

SELECT * FROM `authors` WHERE (`Birthday` < '1990-01-01' AND `Birthday` > '1920-01-01') ORDER BY `Name` ASC
AND WHERE, ( , ORDER BY)
INSERT, UPDATE DELETE -, .
INSERT :

INSERT INTO `authors` (`id`, `Name`, `Birthday`) VALUES ('1', 'Iain Menzies Banks', '1954-02-16')
UPDATE:

UPDATE `authors` SET `Name`='Iain Banks', `Birthday`='1954-02-17' WHERE `id`='1'
DELETE:

DELETE FROM `authors` WHERE `Birthday`<'1954-02-17'
PDO.
, JOIN . , SQL . , , , MySQL .
" !"
, , (MySQL, PHP HTML) , :

library.tpl . :
<div> <select> <option value=''>all authors</option> %author-list% </select> </div> <br /> <div>%book-list%</div>
: %author-list% %book-list%. option, . β , β "book block", HTML . , ( jquery library.tpl).
%author-list% Copy ("Author Copy"), "authors" "option", , "value" id. "Author Copy" :
<option value='1'>Iain Menzies Banks</option> <option value='2'>Charles Michael Palahniuk</option> <option value='3'>Mikhail Bulgakov</option>
"book block" :
<div class='author-%author-id%'> <img width='100' src='images/%image%' align='left' /> <b>%title%</b> by <b>%author%</b> <br /> ISBN: %isbn%<br /> <small>%description%</small> <br clear='all'/> </div>
"books" "authors". "authors" . , "books".
:
. . β , , . :
β , . . -. , . , . , . (include), , . , . MySQL.
β PHP . β , . . , , , ( ).
β , . , . , , .
. -. , β Mooha.net .
:
HTML5 Canvas Javascript ( ) JQuery 2.0 ( ) Codemirror ( ) CKEditor ( ) Spectrum Colorpicker ( ) jQuery File Tree Plugin ( )
:
Apache 2.2.22 PHP 5.4.3 MySQL 5.5.24
%title% "title" . %content% "content" . :
<div> <h1>first title</h1> <p>first content</p> </div> <div> <h1>second title</h1> <p>second content</p> </div>
Copy foreach , . for, , , ( ).
MySQL
β , β SELECT, - . , "*", :
SELECT * FROM `authors`
JSON. "" :
[ { "id": "1", "Name": "Iain Menzies Banks", "Birthday": "1954-02-16" }, { "id": "2", "Name": "Charles Michael Palahniuk", "Birthday": "1962-02-21" } ]
, :
:
["Iain Menzies Banks", "Charles Michael Palahniuk"]
SQL , . :
() :
SELECT * FROM `authors` WHERE id=1
:
[ { "id": "1", "Name": "Iain Menzies Banks", "Birthday": "1954-02-16" } ]
() :
SELECT * FROM `authors` WHERE Name LIKE '%Banks%'
:
SELECT * FROM `authors` WHERE (`Birthday` < '1990-01-01' AND `Birthday` > '1920-01-01') ORDER BY `Name` ASC
AND WHERE, ( , ORDER BY)
INSERT, UPDATE DELETE -, .
INSERT :
INSERT INTO `authors` (`id`, `Name`, `Birthday`) VALUES ('1', 'Iain Menzies Banks', '1954-02-16')
UPDATE:
UPDATE `authors` SET `Name`='Iain Banks', `Birthday`='1954-02-17' WHERE `id`='1'
DELETE:
DELETE FROM `authors` WHERE `Birthday`<'1954-02-17'
PDO.
, JOIN . , SQL . , , , MySQL .
" !"
, , (MySQL, PHP HTML) , :
library.tpl . :
<div> <select> <option value=''>all authors</option> %author-list% </select> </div> <br /> <div>%book-list%</div>
: %author-list% %book-list%. option, . β , β "book block", HTML . , ( jquery library.tpl).
%author-list% Copy ("Author Copy"), "authors" "option", , "value" id. "Author Copy" :
<option value='1'>Iain Menzies Banks</option> <option value='2'>Charles Michael Palahniuk</option> <option value='3'>Mikhail Bulgakov</option>
"book block" :
<div class='author-%author-id%'> <img width='100' src='images/%image%' align='left' /> <b>%title%</b> by <b>%author%</b> <br /> ISBN: %isbn%<br /> <small>%description%</small> <br clear='all'/> </div>
"books" "authors". "authors" . , "books".
:
. . β , , . :
β , . . -. , . , . , . (include), , . , . MySQL.
β PHP . β , . . , , , ( ).
β , . , . , , .
. -. , β Mooha.net .
:
HTML5 Canvas Javascript ( ) JQuery 2.0 ( ) Codemirror ( ) CKEditor ( ) Spectrum Colorpicker ( ) jQuery File Tree Plugin ( )
:
Apache 2.2.22 PHP 5.4.3 MySQL 5.5.24
%title% "title" . %content% "content" . :
<div> <h1>first title</h1> <p>first content</p> </div> <div> <h1>second title</h1> <p>second content</p> </div>
Copy foreach , . for, , , ( ).
MySQL

β , β SELECT, - . , "*", :
SELECT * FROM `authors`
JSON. "" :
[ { "id": "1", "Name": "Iain Menzies Banks", "Birthday": "1954-02-16" }, { "id": "2", "Name": "Charles Michael Palahniuk", "Birthday": "1962-02-21" } ]
, :

:
["Iain Menzies Banks", "Charles Michael Palahniuk"]
SQL , . :

() :
SELECT * FROM `authors` WHERE id=1
:
[ { "id": "1", "Name": "Iain Menzies Banks", "Birthday": "1954-02-16" } ]
() :
SELECT * FROM `authors` WHERE Name LIKE '%Banks%'
:

SELECT * FROM `authors` WHERE (`Birthday` < '1990-01-01' AND `Birthday` > '1920-01-01') ORDER BY `Name` ASC
AND WHERE, ( , ORDER BY)
INSERT, UPDATE DELETE -, .
INSERT :

INSERT INTO `authors` (`id`, `Name`, `Birthday`) VALUES ('1', 'Iain Menzies Banks', '1954-02-16')
UPDATE:

UPDATE `authors` SET `Name`='Iain Banks', `Birthday`='1954-02-17' WHERE `id`='1'
DELETE:

DELETE FROM `authors` WHERE `Birthday`<'1954-02-17'
PDO.
, JOIN . , SQL . , , , MySQL .
" !"
, , (MySQL, PHP HTML) , :

library.tpl . :
<div> <select> <option value=''>all authors</option> %author-list% </select> </div> <br /> <div>%book-list%</div>
: %author-list% %book-list%. option, . β , β "book block", HTML . , ( jquery library.tpl).
%author-list% Copy ("Author Copy"), "authors" "option", , "value" id. "Author Copy" :
<option value='1'>Iain Menzies Banks</option> <option value='2'>Charles Michael Palahniuk</option> <option value='3'>Mikhail Bulgakov</option>
"book block" :
<div class='author-%author-id%'> <img width='100' src='images/%image%' align='left' /> <b>%title%</b> by <b>%author%</b> <br /> ISBN: %isbn%<br /> <small>%description%</small> <br clear='all'/> </div>
"books" "authors". "authors" . , "books".
:
. . β , , . :
β , . . -. , . , . , . (include), , . , . MySQL.
β PHP . β , . . , , , ( ).
β , . , . , , .
. -. , β Mooha.net .
:
HTML5 Canvas Javascript ( ) JQuery 2.0 ( ) Codemirror ( ) CKEditor ( ) Spectrum Colorpicker ( ) jQuery File Tree Plugin ( )
:
Apache 2.2.22 PHP 5.4.3 MySQL 5.5.24
%title% "title" . %content% "content" . :
<div> <h1>first title</h1> <p>first content</p> </div> <div> <h1>second title</h1> <p>second content</p> </div>
Copy foreach , . for, , , ( ).
MySQL
β , β SELECT, - . , "*", :
SELECT * FROM `authors`
JSON. "" :
[ { "id": "1", "Name": "Iain Menzies Banks", "Birthday": "1954-02-16" }, { "id": "2", "Name": "Charles Michael Palahniuk", "Birthday": "1962-02-21" } ]
, :
:
["Iain Menzies Banks", "Charles Michael Palahniuk"]
SQL , . :
() :
SELECT * FROM `authors` WHERE id=1
:
[ { "id": "1", "Name": "Iain Menzies Banks", "Birthday": "1954-02-16" } ]
() :
SELECT * FROM `authors` WHERE Name LIKE '%Banks%'
:
SELECT * FROM `authors` WHERE (`Birthday` < '1990-01-01' AND `Birthday` > '1920-01-01') ORDER BY `Name` ASC
AND WHERE, ( , ORDER BY)
INSERT, UPDATE DELETE -, .
INSERT :
INSERT INTO `authors` (`id`, `Name`, `Birthday`) VALUES ('1', 'Iain Menzies Banks', '1954-02-16')
UPDATE:
UPDATE `authors` SET `Name`='Iain Banks', `Birthday`='1954-02-17' WHERE `id`='1'
DELETE:
DELETE FROM `authors` WHERE `Birthday`<'1954-02-17'
PDO.
, JOIN . , SQL . , , , MySQL .
" !"
, , (MySQL, PHP HTML) , :
library.tpl . :
<div> <select> <option value=''>all authors</option> %author-list% </select> </div> <br /> <div>%book-list%</div>
: %author-list% %book-list%. option, . β , β "book block", HTML . , ( jquery library.tpl).
%author-list% Copy ("Author Copy"), "authors" "option", , "value" id. "Author Copy" :
<option value='1'>Iain Menzies Banks</option> <option value='2'>Charles Michael Palahniuk</option> <option value='3'>Mikhail Bulgakov</option>
"book block" :
<div class='author-%author-id%'> <img width='100' src='images/%image%' align='left' /> <b>%title%</b> by <b>%author%</b> <br /> ISBN: %isbn%<br /> <small>%description%</small> <br clear='all'/> </div>
"books" "authors". "authors" . , "books".
:
. . β , , . :
β , . . -. , . , . , . (include), , . , . MySQL.
β PHP . β , . . , , , ( ).
β , . , . , , .
. -. , β Mooha.net .
:
HTML5 Canvas Javascript ( ) JQuery 2.0 ( ) Codemirror ( ) CKEditor ( ) Spectrum Colorpicker ( ) jQuery File Tree Plugin ( )
:
Apache 2.2.22 PHP 5.4.3 MySQL 5.5.24
%title% "title" . %content% "content" . :
<div> <h1>first title</h1> <p>first content</p> </div> <div> <h1>second title</h1> <p>second content</p> </div>
Copy foreach , . for, , , ( ).
MySQL

β , β SELECT, - . , "*", :
SELECT * FROM `authors`
JSON. "" :
[ { "id": "1", "Name": "Iain Menzies Banks", "Birthday": "1954-02-16" }, { "id": "2", "Name": "Charles Michael Palahniuk", "Birthday": "1962-02-21" } ]
, :

:
["Iain Menzies Banks", "Charles Michael Palahniuk"]
SQL , . :

() :
SELECT * FROM `authors` WHERE id=1
:
[ { "id": "1", "Name": "Iain Menzies Banks", "Birthday": "1954-02-16" } ]
() :
SELECT * FROM `authors` WHERE Name LIKE '%Banks%'
:

SELECT * FROM `authors` WHERE (`Birthday` < '1990-01-01' AND `Birthday` > '1920-01-01') ORDER BY `Name` ASC
AND WHERE, ( , ORDER BY)
INSERT, UPDATE DELETE -, .
INSERT :

INSERT INTO `authors` (`id`, `Name`, `Birthday`) VALUES ('1', 'Iain Menzies Banks', '1954-02-16')
UPDATE:

UPDATE `authors` SET `Name`='Iain Banks', `Birthday`='1954-02-17' WHERE `id`='1'
DELETE:

DELETE FROM `authors` WHERE `Birthday`<'1954-02-17'
PDO.
, JOIN . , SQL . , , , MySQL .
" !"
, , (MySQL, PHP HTML) , :

library.tpl . :
<div> <select> <option value=''>all authors</option> %author-list% </select> </div> <br /> <div>%book-list%</div>
: %author-list% %book-list%. option, . β , β "book block", HTML . , ( jquery library.tpl).
%author-list% Copy ("Author Copy"), "authors" "option", , "value" id. "Author Copy" :
<option value='1'>Iain Menzies Banks</option> <option value='2'>Charles Michael Palahniuk</option> <option value='3'>Mikhail Bulgakov</option>
"book block" :
<div class='author-%author-id%'> <img width='100' src='images/%image%' align='left' /> <b>%title%</b> by <b>%author%</b> <br /> ISBN: %isbn%<br /> <small>%description%</small> <br clear='all'/> </div>
"books" "authors". "authors" . , "books".
:
. . β , , . :
β , . . -. , . , . , . (include), , . , . MySQL.
β PHP . β , . . , , , ( ).
β , . , . , , .
. -. , β Mooha.net .
:
HTML5 Canvas Javascript ( ) JQuery 2.0 ( ) Codemirror ( ) CKEditor ( ) Spectrum Colorpicker ( ) jQuery File Tree Plugin ( )
:
Apache 2.2.22 PHP 5.4.3 MySQL 5.5.24
%title% "title" . %content% "content" . :
<div> <h1>first title</h1> <p>first content</p> </div> <div> <h1>second title</h1> <p>second content</p> </div>
Copy foreach , . for, , , ( ).
MySQL
β , β SELECT, - . , "*", :
SELECT * FROM `authors`
JSON. "" :
[ { "id": "1", "Name": "Iain Menzies Banks", "Birthday": "1954-02-16" }, { "id": "2", "Name": "Charles Michael Palahniuk", "Birthday": "1962-02-21" } ]
, :
:
["Iain Menzies Banks", "Charles Michael Palahniuk"]
SQL , . :
() :
SELECT * FROM `authors` WHERE id=1
:
[ { "id": "1", "Name": "Iain Menzies Banks", "Birthday": "1954-02-16" } ]
() :
SELECT * FROM `authors` WHERE Name LIKE '%Banks%'
:
SELECT * FROM `authors` WHERE (`Birthday` < '1990-01-01' AND `Birthday` > '1920-01-01') ORDER BY `Name` ASC
AND WHERE, ( , ORDER BY)
INSERT, UPDATE DELETE -, .
INSERT :
INSERT INTO `authors` (`id`, `Name`, `Birthday`) VALUES ('1', 'Iain Menzies Banks', '1954-02-16')
UPDATE:
UPDATE `authors` SET `Name`='Iain Banks', `Birthday`='1954-02-17' WHERE `id`='1'
DELETE:
DELETE FROM `authors` WHERE `Birthday`<'1954-02-17'
PDO.
, JOIN . , SQL . , , , MySQL .
" !"
, , (MySQL, PHP HTML) , :
library.tpl . :
<div> <select> <option value=''>all authors</option> %author-list% </select> </div> <br /> <div>%book-list%</div>
: %author-list% %book-list%. option, . β , β "book block", HTML . , ( jquery library.tpl).
%author-list% Copy ("Author Copy"), "authors" "option", , "value" id. "Author Copy" :
<option value='1'>Iain Menzies Banks</option> <option value='2'>Charles Michael Palahniuk</option> <option value='3'>Mikhail Bulgakov</option>
"book block" :
<div class='author-%author-id%'> <img width='100' src='images/%image%' align='left' /> <b>%title%</b> by <b>%author%</b> <br /> ISBN: %isbn%<br /> <small>%description%</small> <br clear='all'/> </div>
"books" "authors". "authors" . , "books".
:
. . β , , . :
β , . . -. , . , . , . (include), , . , . MySQL.
β PHP . β , . . , , , ( ).
β , . , . , , .
. -. , β Mooha.net .
:
HTML5 Canvas Javascript ( ) JQuery 2.0 ( ) Codemirror ( ) CKEditor ( ) Spectrum Colorpicker ( ) jQuery File Tree Plugin ( )
:
Apache 2.2.22 PHP 5.4.3 MySQL 5.5.24
%title% "title" . %content% "content" . :
<div> <h1>first title</h1> <p>first content</p> </div> <div> <h1>second title</h1> <p>second content</p> </div>
Copy foreach , . for, , , ( ).
MySQL

β , β SELECT, - . , "*", :
SELECT * FROM `authors`
JSON. "" :
[ { "id": "1", "Name": "Iain Menzies Banks", "Birthday": "1954-02-16" }, { "id": "2", "Name": "Charles Michael Palahniuk", "Birthday": "1962-02-21" } ]
, :

:
["Iain Menzies Banks", "Charles Michael Palahniuk"]
SQL , . :

() :
SELECT * FROM `authors` WHERE id=1
:
[ { "id": "1", "Name": "Iain Menzies Banks", "Birthday": "1954-02-16" } ]
() :
SELECT * FROM `authors` WHERE Name LIKE '%Banks%'
:

SELECT * FROM `authors` WHERE (`Birthday` < '1990-01-01' AND `Birthday` > '1920-01-01') ORDER BY `Name` ASC
AND WHERE, ( , ORDER BY)
INSERT, UPDATE DELETE -, .
INSERT :

INSERT INTO `authors` (`id`, `Name`, `Birthday`) VALUES ('1', 'Iain Menzies Banks', '1954-02-16')
UPDATE:

UPDATE `authors` SET `Name`='Iain Banks', `Birthday`='1954-02-17' WHERE `id`='1'
DELETE:

DELETE FROM `authors` WHERE `Birthday`<'1954-02-17'
PDO.
, JOIN . , SQL . , , , MySQL .
" !"
, , (MySQL, PHP HTML) , :

library.tpl . :
<div> <select> <option value=''>all authors</option> %author-list% </select> </div> <br /> <div>%book-list%</div>
: %author-list% %book-list%. option, . β , β "book block", HTML . , ( jquery library.tpl).
%author-list% Copy ("Author Copy"), "authors" "option", , "value" id. "Author Copy" :
<option value='1'>Iain Menzies Banks</option> <option value='2'>Charles Michael Palahniuk</option> <option value='3'>Mikhail Bulgakov</option>
"book block" :
<div class='author-%author-id%'> <img width='100' src='images/%image%' align='left' /> <b>%title%</b> by <b>%author%</b> <br /> ISBN: %isbn%<br /> <small>%description%</small> <br clear='all'/> </div>
"books" "authors". "authors" . , "books".
:
. . β , , . :
β , . . -. , . , . , . (include), , . , . MySQL.
β PHP . β , . . , , , ( ).
β , . , . , , .
. -. , β Mooha.net .
:
HTML5 Canvas Javascript ( ) JQuery 2.0 ( ) Codemirror ( ) CKEditor ( ) Spectrum Colorpicker ( ) jQuery File Tree Plugin ( )
:
Apache 2.2.22 PHP 5.4.3 MySQL 5.5.24
%title% "title" . %content% "content" . :
<div> <h1>first title</h1> <p>first content</p> </div> <div> <h1>second title</h1> <p>second content</p> </div>
Copy foreach , . for, , , ( ).
MySQL
β , β SELECT, - . , "*", :
SELECT * FROM `authors`
JSON. "" :
[ { "id": "1", "Name": "Iain Menzies Banks", "Birthday": "1954-02-16" }, { "id": "2", "Name": "Charles Michael Palahniuk", "Birthday": "1962-02-21" } ]
, :
:
["Iain Menzies Banks", "Charles Michael Palahniuk"]
SQL , . :
() :
SELECT * FROM `authors` WHERE id=1
:
[ { "id": "1", "Name": "Iain Menzies Banks", "Birthday": "1954-02-16" } ]
() :
SELECT * FROM `authors` WHERE Name LIKE '%Banks%'
:
SELECT * FROM `authors` WHERE (`Birthday` < '1990-01-01' AND `Birthday` > '1920-01-01') ORDER BY `Name` ASC
AND WHERE, ( , ORDER BY)
INSERT, UPDATE DELETE -, .
INSERT :
INSERT INTO `authors` (`id`, `Name`, `Birthday`) VALUES ('1', 'Iain Menzies Banks', '1954-02-16')
UPDATE:
UPDATE `authors` SET `Name`='Iain Banks', `Birthday`='1954-02-17' WHERE `id`='1'
DELETE:
DELETE FROM `authors` WHERE `Birthday`<'1954-02-17'
PDO.
, JOIN . , SQL . , , , MySQL .
" !"
, , (MySQL, PHP HTML) , :
library.tpl . :
<div> <select> <option value=''>all authors</option> %author-list% </select> </div> <br /> <div>%book-list%</div>
: %author-list% %book-list%. option, . β , β "book block", HTML . , ( jquery library.tpl).
%author-list% Copy ("Author Copy"), "authors" "option", , "value" id. "Author Copy" :
<option value='1'>Iain Menzies Banks</option> <option value='2'>Charles Michael Palahniuk</option> <option value='3'>Mikhail Bulgakov</option>
"book block" :
<div class='author-%author-id%'> <img width='100' src='images/%image%' align='left' /> <b>%title%</b> by <b>%author%</b> <br /> ISBN: %isbn%<br /> <small>%description%</small> <br clear='all'/> </div>
"books" "authors". "authors" . , "books".
:
. . β , , . :
β , . . -. , . , . , . (include), , . , . MySQL.
β PHP . β , . . , , , ( ).
β , . , . , , .
. -. , β Mooha.net .
:
HTML5 Canvas Javascript ( ) JQuery 2.0 ( ) Codemirror ( ) CKEditor ( ) Spectrum Colorpicker ( ) jQuery File Tree Plugin ( )
:
Apache 2.2.22 PHP 5.4.3 MySQL 5.5.24
%title% "title" . %content% "content" . :
<div> <h1>first title</h1> <p>first content</p> </div> <div> <h1>second title</h1> <p>second content</p> </div>
Copy foreach , . for, , , ( ).
MySQL

β , β SELECT, - . , "*", :
SELECT * FROM `authors`
JSON. "" :
[ { "id": "1", "Name": "Iain Menzies Banks", "Birthday": "1954-02-16" }, { "id": "2", "Name": "Charles Michael Palahniuk", "Birthday": "1962-02-21" } ]
, :

:
["Iain Menzies Banks", "Charles Michael Palahniuk"]
SQL , . :

() :
SELECT * FROM `authors` WHERE id=1
:
[ { "id": "1", "Name": "Iain Menzies Banks", "Birthday": "1954-02-16" } ]
() :
SELECT * FROM `authors` WHERE Name LIKE '%Banks%'
:

SELECT * FROM `authors` WHERE (`Birthday` < '1990-01-01' AND `Birthday` > '1920-01-01') ORDER BY `Name` ASC
AND WHERE, ( , ORDER BY)
INSERT, UPDATE DELETE -, .
INSERT :

INSERT INTO `authors` (`id`, `Name`, `Birthday`) VALUES ('1', 'Iain Menzies Banks', '1954-02-16')
UPDATE:

UPDATE `authors` SET `Name`='Iain Banks', `Birthday`='1954-02-17' WHERE `id`='1'
DELETE:

DELETE FROM `authors` WHERE `Birthday`<'1954-02-17'
PDO.
, JOIN . , SQL . , , , MySQL .
" !"
, , (MySQL, PHP HTML) , :

library.tpl . :
<div> <select> <option value=''>all authors</option> %author-list% </select> </div> <br /> <div>%book-list%</div>
: %author-list% %book-list%. option, . β , β "book block", HTML . , ( jquery library.tpl).
%author-list% Copy ("Author Copy"), "authors" "option", , "value" id. "Author Copy" :
<option value='1'>Iain Menzies Banks</option> <option value='2'>Charles Michael Palahniuk</option> <option value='3'>Mikhail Bulgakov</option>
"book block" :
<div class='author-%author-id%'> <img width='100' src='images/%image%' align='left' /> <b>%title%</b> by <b>%author%</b> <br /> ISBN: %isbn%<br /> <small>%description%</small> <br clear='all'/> </div>
"books" "authors". "authors" . , "books".
:
. . β , , . :
β , . . -. , . , . , . (include), , . , . MySQL.
β PHP . β , . . , , , ( ).
β , . , . , , .
. -. , β Mooha.net .
:
HTML5 Canvas Javascript ( ) JQuery 2.0 ( ) Codemirror ( ) CKEditor ( ) Spectrum Colorpicker ( ) jQuery File Tree Plugin ( )
:
Apache 2.2.22 PHP 5.4.3 MySQL 5.5.24
%title% "title" . %content% "content" . :
<div> <h1>first title</h1> <p>first content</p> </div> <div> <h1>second title</h1> <p>second content</p> </div>
Copy foreach , . for, , , ( ).
MySQL
β , β SELECT, - . , "*", :
SELECT * FROM `authors`
JSON. "" :
[ { "id": "1", "Name": "Iain Menzies Banks", "Birthday": "1954-02-16" }, { "id": "2", "Name": "Charles Michael Palahniuk", "Birthday": "1962-02-21" } ]
, :
:
["Iain Menzies Banks", "Charles Michael Palahniuk"]
SQL , . :
() :
SELECT * FROM `authors` WHERE id=1
:
[ { "id": "1", "Name": "Iain Menzies Banks", "Birthday": "1954-02-16" } ]
() :
SELECT * FROM `authors` WHERE Name LIKE '%Banks%'
:
SELECT * FROM `authors` WHERE (`Birthday` < '1990-01-01' AND `Birthday` > '1920-01-01') ORDER BY `Name` ASC
AND WHERE, ( , ORDER BY)
INSERT, UPDATE DELETE -, .
INSERT :
INSERT INTO `authors` (`id`, `Name`, `Birthday`) VALUES ('1', 'Iain Menzies Banks', '1954-02-16')
UPDATE:
UPDATE `authors` SET `Name`='Iain Banks', `Birthday`='1954-02-17' WHERE `id`='1'
DELETE:
DELETE FROM `authors` WHERE `Birthday`<'1954-02-17'
PDO.
, JOIN . , SQL . , , , MySQL .
" !"
, , (MySQL, PHP HTML) , :
library.tpl . :
<div> <select> <option value=''>all authors</option> %author-list% </select> </div> <br /> <div>%book-list%</div>
: %author-list% %book-list%. option, . β , β "book block", HTML . , ( jquery library.tpl).
%author-list% Copy ("Author Copy"), "authors" "option", , "value" id. "Author Copy" :
<option value='1'>Iain Menzies Banks</option> <option value='2'>Charles Michael Palahniuk</option> <option value='3'>Mikhail Bulgakov</option>
"book block" :
<div class='author-%author-id%'> <img width='100' src='images/%image%' align='left' /> <b>%title%</b> by <b>%author%</b> <br /> ISBN: %isbn%<br /> <small>%description%</small> <br clear='all'/> </div>
"books" "authors". "authors" . , "books".
:
. . β , , . :
β , . . -. , . , . , . (include), , . , . MySQL.
β PHP . β , . . , , , ( ).
β , . , . , , .
. -. , β Mooha.net .
:
HTML5 Canvas Javascript ( ) JQuery 2.0 ( ) Codemirror ( ) CKEditor ( ) Spectrum Colorpicker ( ) jQuery File Tree Plugin ( )
:
Apache 2.2.22 PHP 5.4.3 MySQL 5.5.24
%title% "title" . %content% "content" . :
<div> <h1>first title</h1> <p>first content</p> </div> <div> <h1>second title</h1> <p>second content</p> </div>
Copy foreach , . for, , , ( ).
MySQL

β , β SELECT, - . , "*", :
SELECT * FROM `authors`
JSON. "" :
[ { "id": "1", "Name": "Iain Menzies Banks", "Birthday": "1954-02-16" }, { "id": "2", "Name": "Charles Michael Palahniuk", "Birthday": "1962-02-21" } ]
, :

:
["Iain Menzies Banks", "Charles Michael Palahniuk"]
SQL , . :

() :
SELECT * FROM `authors` WHERE id=1
:
[ { "id": "1", "Name": "Iain Menzies Banks", "Birthday": "1954-02-16" } ]
() :
SELECT * FROM `authors` WHERE Name LIKE '%Banks%'
:

SELECT * FROM `authors` WHERE (`Birthday` < '1990-01-01' AND `Birthday` > '1920-01-01') ORDER BY `Name` ASC
AND WHERE, ( , ORDER BY)
INSERT, UPDATE DELETE -, .
INSERT :

INSERT INTO `authors` (`id`, `Name`, `Birthday`) VALUES ('1', 'Iain Menzies Banks', '1954-02-16')
UPDATE:

UPDATE `authors` SET `Name`='Iain Banks', `Birthday`='1954-02-17' WHERE `id`='1'
DELETE:

DELETE FROM `authors` WHERE `Birthday`<'1954-02-17'
PDO.
, JOIN . , SQL . , , , MySQL .
" !"
, , (MySQL, PHP HTML) , :

library.tpl . :
<div> <select> <option value=''>all authors</option> %author-list% </select> </div> <br /> <div>%book-list%</div>
: %author-list% %book-list%. option, . β , β "book block", HTML . , ( jquery library.tpl).
%author-list% Copy ("Author Copy"), "authors" "option", , "value" id. "Author Copy" :
<option value='1'>Iain Menzies Banks</option> <option value='2'>Charles Michael Palahniuk</option> <option value='3'>Mikhail Bulgakov</option>
"book block" :
<div class='author-%author-id%'> <img width='100' src='images/%image%' align='left' /> <b>%title%</b> by <b>%author%</b> <br /> ISBN: %isbn%<br /> <small>%description%</small> <br clear='all'/> </div>
"books" "authors". "authors" . , "books".
:
. . β , , . :
β , . . -. , . , . , . (include), , . , . MySQL.
β PHP . β , . . , , , ( ).
β , . , . , , .
. -. , β Mooha.net .
:
HTML5 Canvas Javascript ( ) JQuery 2.0 ( ) Codemirror ( ) CKEditor ( ) Spectrum Colorpicker ( ) jQuery File Tree Plugin ( )
:
Apache 2.2.22 PHP 5.4.3 MySQL 5.5.24
%title% "title" . %content% "content" . :
<div> <h1>first title</h1> <p>first content</p> </div> <div> <h1>second title</h1> <p>second content</p> </div>
Copy foreach , . for, , , ( ).
MySQL
β , β SELECT, - . , "*", :
SELECT * FROM `authors`
JSON. "" :
[ { "id": "1", "Name": "Iain Menzies Banks", "Birthday": "1954-02-16" }, { "id": "2", "Name": "Charles Michael Palahniuk", "Birthday": "1962-02-21" } ]
, :
:
["Iain Menzies Banks", "Charles Michael Palahniuk"]
SQL , . :
() :
SELECT * FROM `authors` WHERE id=1
:
[ { "id": "1", "Name": "Iain Menzies Banks", "Birthday": "1954-02-16" } ]
() :
SELECT * FROM `authors` WHERE Name LIKE '%Banks%'
:
SELECT * FROM `authors` WHERE (`Birthday` < '1990-01-01' AND `Birthday` > '1920-01-01') ORDER BY `Name` ASC
AND WHERE, ( , ORDER BY)
INSERT, UPDATE DELETE -, .
INSERT :
INSERT INTO `authors` (`id`, `Name`, `Birthday`) VALUES ('1', 'Iain Menzies Banks', '1954-02-16')
UPDATE:
UPDATE `authors` SET `Name`='Iain Banks', `Birthday`='1954-02-17' WHERE `id`='1'
DELETE:
DELETE FROM `authors` WHERE `Birthday`<'1954-02-17'
PDO.
, JOIN . , SQL . , , , MySQL .
" !"
, , (MySQL, PHP HTML) , :
library.tpl . :
<div> <select> <option value=''>all authors</option> %author-list% </select> </div> <br /> <div>%book-list%</div>
: %author-list% %book-list%. option, . β , β "book block", HTML . , ( jquery library.tpl).
%author-list% Copy ("Author Copy"), "authors" "option", , "value" id. "Author Copy" :
<option value='1'>Iain Menzies Banks</option> <option value='2'>Charles Michael Palahniuk</option> <option value='3'>Mikhail Bulgakov</option>
"book block" :
<div class='author-%author-id%'> <img width='100' src='images/%image%' align='left' /> <b>%title%</b> by <b>%author%</b> <br /> ISBN: %isbn%<br /> <small>%description%</small> <br clear='all'/> </div>
"books" "authors". "authors" . , "books".
:
. . β , , . :
β , . . -. , . , . , . (include), , . , . MySQL.
β PHP . β , . . , , , ( ).
β , . , . , , .
. -. , β Mooha.net .
:
HTML5 Canvas Javascript ( ) JQuery 2.0 ( ) Codemirror ( ) CKEditor ( ) Spectrum Colorpicker ( ) jQuery File Tree Plugin ( )
:
Apache 2.2.22 PHP 5.4.3 MySQL 5.5.24
%title% "title" . %content% "content" . :
<div> <h1>first title</h1> <p>first content</p> </div> <div> <h1>second title</h1> <p>second content</p> </div>
Copy foreach , . for, , , ( ).
MySQL

β , β SELECT, - . , "*", :
SELECT * FROM `authors`
JSON. "" :
[ { "id": "1", "Name": "Iain Menzies Banks", "Birthday": "1954-02-16" }, { "id": "2", "Name": "Charles Michael Palahniuk", "Birthday": "1962-02-21" } ]
, :

:
["Iain Menzies Banks", "Charles Michael Palahniuk"]
SQL , . :

() :
SELECT * FROM `authors` WHERE id=1
:
[ { "id": "1", "Name": "Iain Menzies Banks", "Birthday": "1954-02-16" } ]
() :
SELECT * FROM `authors` WHERE Name LIKE '%Banks%'
:

SELECT * FROM `authors` WHERE (`Birthday` < '1990-01-01' AND `Birthday` > '1920-01-01') ORDER BY `Name` ASC
AND WHERE, ( , ORDER BY)
INSERT, UPDATE DELETE -, .
INSERT :

INSERT INTO `authors` (`id`, `Name`, `Birthday`) VALUES ('1', 'Iain Menzies Banks', '1954-02-16')
UPDATE:

UPDATE `authors` SET `Name`='Iain Banks', `Birthday`='1954-02-17' WHERE `id`='1'
DELETE:

DELETE FROM `authors` WHERE `Birthday`<'1954-02-17'
PDO.
, JOIN . , SQL . , , , MySQL .
" !"
, , (MySQL, PHP HTML) , :

library.tpl . :
<div> <select> <option value=''>all authors</option> %author-list% </select> </div> <br /> <div>%book-list%</div>
: %author-list% %book-list%. option, . β , β "book block", HTML . , ( jquery library.tpl).
%author-list% Copy ("Author Copy"), "authors" "option", , "value" id. "Author Copy" :
<option value='1'>Iain Menzies Banks</option> <option value='2'>Charles Michael Palahniuk</option> <option value='3'>Mikhail Bulgakov</option>
"book block" :
<div class='author-%author-id%'> <img width='100' src='images/%image%' align='left' /> <b>%title%</b> by <b>%author%</b> <br /> ISBN: %isbn%<br /> <small>%description%</small> <br clear='all'/> </div>
"books" "authors". "authors" . , "books".
:
. . β , , . :
β , . . -. , . , . , . (include), , . , . MySQL.
β PHP . β , . . , , , ( ).
β , . , . , , .
. -. , β Mooha.net .
:
HTML5 Canvas Javascript ( ) JQuery 2.0 ( ) Codemirror ( ) CKEditor ( ) Spectrum Colorpicker ( ) jQuery File Tree Plugin ( )
:
Apache 2.2.22 PHP 5.4.3 MySQL 5.5.24
%title% "title" . %content% "content" . :
<div> <h1>first title</h1> <p>first content</p> </div> <div> <h1>second title</h1> <p>second content</p> </div>
Copy foreach , . for, , , ( ).
MySQL

β , β SELECT, - . , "*", :
SELECT * FROM `authors`
JSON. "" :
[ { "id": "1", "Name": "Iain Menzies Banks", "Birthday": "1954-02-16" }, { "id": "2", "Name": "Charles Michael Palahniuk", "Birthday": "1962-02-21" } ]
, :

:
["Iain Menzies Banks", "Charles Michael Palahniuk"]
SQL , . :

() :
SELECT * FROM `authors` WHERE id=1
:
[ { "id": "1", "Name": "Iain Menzies Banks", "Birthday": "1954-02-16" } ]
() :
SELECT * FROM `authors` WHERE Name LIKE '%Banks%'
:

SELECT * FROM `authors` WHERE (`Birthday` < '1990-01-01' AND `Birthday` > '1920-01-01') ORDER BY `Name` ASC
AND WHERE, ( , ORDER BY)
INSERT, UPDATE DELETE -, .
INSERT :

INSERT INTO `authors` (`id`, `Name`, `Birthday`) VALUES ('1', 'Iain Menzies Banks', '1954-02-16')
UPDATE:

UPDATE `authors` SET `Name`='Iain Banks', `Birthday`='1954-02-17' WHERE `id`='1'
DELETE:

DELETE FROM `authors` WHERE `Birthday`<'1954-02-17'
PDO.
, JOIN . , SQL . , , , MySQL .
" !"
, , (MySQL, PHP HTML) , :

library.tpl . :
<div> <select> <option value=''>all authors</option> %author-list% </select> </div> <br /> <div>%book-list%</div>
: %author-list% %book-list%. option, . β , β "book block", HTML . , ( jquery library.tpl).
%author-list% Copy ("Author Copy"), "authors" "option", , "value" id. "Author Copy" :
<option value='1'>Iain Menzies Banks</option> <option value='2'>Charles Michael Palahniuk</option> <option value='3'>Mikhail Bulgakov</option>
"book block" :
<div class='author-%author-id%'> <img width='100' src='images/%image%' align='left' /> <b>%title%</b> by <b>%author%</b> <br /> ISBN: %isbn%<br /> <small>%description%</small> <br clear='all'/> </div>
"books" "authors". "authors" . , "books".
:
. . β , , . :
β , . . -. , . , . , . (include), , . , . MySQL.
β PHP . β , . . , , , ( ).
β , . , . , , .
. -. , β Mooha.net .
:
HTML5 Canvas Javascript ( ) JQuery 2.0 ( ) Codemirror ( ) CKEditor ( ) Spectrum Colorpicker ( ) jQuery File Tree Plugin ( )
:
Apache 2.2.22 PHP 5.4.3 MySQL 5.5.24
%title% "title" . %content% "content" . :
<div> <h1>first title</h1> <p>first content</p> </div> <div> <h1>second title</h1> <p>second content</p> </div>
Copy foreach , . for, , , ( ).
MySQL
β , β SELECT, - . , "*", :
SELECT * FROM `authors`
JSON. "" :
[ { "id": "1", "Name": "Iain Menzies Banks", "Birthday": "1954-02-16" }, { "id": "2", "Name": "Charles Michael Palahniuk", "Birthday": "1962-02-21" } ]
, :
:
["Iain Menzies Banks", "Charles Michael Palahniuk"]
SQL , . :
() :
SELECT * FROM `authors` WHERE id=1
:
[ { "id": "1", "Name": "Iain Menzies Banks", "Birthday": "1954-02-16" } ]
() :
SELECT * FROM `authors` WHERE Name LIKE '%Banks%'
:
SELECT * FROM `authors` WHERE (`Birthday` < '1990-01-01' AND `Birthday` > '1920-01-01') ORDER BY `Name` ASC
AND WHERE, ( , ORDER BY)
INSERT, UPDATE DELETE -, .
INSERT :
INSERT INTO `authors` (`id`, `Name`, `Birthday`) VALUES ('1', 'Iain Menzies Banks', '1954-02-16')
UPDATE:
UPDATE `authors` SET `Name`='Iain Banks', `Birthday`='1954-02-17' WHERE `id`='1'
DELETE:
DELETE FROM `authors` WHERE `Birthday`<'1954-02-17'
PDO.
, JOIN . , SQL . , , , MySQL .
" !"
, , (MySQL, PHP HTML) , :
library.tpl . :
<div> <select> <option value=''>all authors</option> %author-list% </select> </div> <br /> <div>%book-list%</div>
: %author-list% %book-list%. option, . β , β "book block", HTML . , ( jquery library.tpl).
%author-list% Copy ("Author Copy"), "authors" "option", , "value" id. "Author Copy" :
<option value='1'>Iain Menzies Banks</option> <option value='2'>Charles Michael Palahniuk</option> <option value='3'>Mikhail Bulgakov</option>
"book block" :
<div class='author-%author-id%'> <img width='100' src='images/%image%' align='left' /> <b>%title%</b> by <b>%author%</b> <br /> ISBN: %isbn%<br /> <small>%description%</small> <br clear='all'/> </div>
"books" "authors". "authors" . , "books".
:
. . β , , . :
β , . . -. , . , . , . (include), , . , . MySQL.
β PHP . β , . . , , , ( ).
β , . , . , , .
. -. , β Mooha.net .
:
HTML5 Canvas Javascript ( ) JQuery 2.0 ( ) Codemirror ( ) CKEditor ( ) Spectrum Colorpicker ( ) jQuery File Tree Plugin ( )
:
Apache 2.2.22 PHP 5.4.3 MySQL 5.5.24
%title% "title" . %content% "content" . :
<div> <h1>first title</h1> <p>first content</p> </div> <div> <h1>second title</h1> <p>second content</p> </div>
Copy foreach , . for, , , ( ).
MySQL

β , β SELECT, - . , "*", :
SELECT * FROM `authors`
JSON. "" :
[ { "id": "1", "Name": "Iain Menzies Banks", "Birthday": "1954-02-16" }, { "id": "2", "Name": "Charles Michael Palahniuk", "Birthday": "1962-02-21" } ]
, :

:
["Iain Menzies Banks", "Charles Michael Palahniuk"]
SQL , . :

() :
SELECT * FROM `authors` WHERE id=1
:
[ { "id": "1", "Name": "Iain Menzies Banks", "Birthday": "1954-02-16" } ]
() :
SELECT * FROM `authors` WHERE Name LIKE '%Banks%'
:

SELECT * FROM `authors` WHERE (`Birthday` < '1990-01-01' AND `Birthday` > '1920-01-01') ORDER BY `Name` ASC
AND WHERE, ( , ORDER BY)
INSERT, UPDATE DELETE -, .
INSERT :

INSERT INTO `authors` (`id`, `Name`, `Birthday`) VALUES ('1', 'Iain Menzies Banks', '1954-02-16')
UPDATE:

UPDATE `authors` SET `Name`='Iain Banks', `Birthday`='1954-02-17' WHERE `id`='1'
DELETE:

DELETE FROM `authors` WHERE `Birthday`<'1954-02-17'
PDO.
, JOIN . , SQL . , , , MySQL .
" !"
, , (MySQL, PHP HTML) , :

library.tpl . :
<div> <select> <option value=''>all authors</option> %author-list% </select> </div> <br /> <div>%book-list%</div>
: %author-list% %book-list%. option, . β , β "book block", HTML . , ( jquery library.tpl).
%author-list% Copy ("Author Copy"), "authors" "option", , "value" id. "Author Copy" :
<option value='1'>Iain Menzies Banks</option> <option value='2'>Charles Michael Palahniuk</option> <option value='3'>Mikhail Bulgakov</option>
"book block" :
<div class='author-%author-id%'> <img width='100' src='images/%image%' align='left' /> <b>%title%</b> by <b>%author%</b> <br /> ISBN: %isbn%<br /> <small>%description%</small> <br clear='all'/> </div>
"books" "authors". "authors" . , "books".
:
. . β , , . :
β , . . -. , . , . , . (include), , . , . MySQL.
β PHP . β , . . , , , ( ).
β , . , . , , .
. -. , β Mooha.net .
:
HTML5 Canvas Javascript ( ) JQuery 2.0 ( ) Codemirror ( ) CKEditor ( ) Spectrum Colorpicker ( ) jQuery File Tree Plugin ( )
:
Apache 2.2.22 PHP 5.4.3 MySQL 5.5.24
%title% "title" . %content% "content" . :
<div> <h1>first title</h1> <p>first content</p> </div> <div> <h1>second title</h1> <p>second content</p> </div>
Copy foreach , . for, , , ( ).
MySQL
β , β SELECT, - . , "*", :
SELECT * FROM `authors`
JSON. "" :
[ { "id": "1", "Name": "Iain Menzies Banks", "Birthday": "1954-02-16" }, { "id": "2", "Name": "Charles Michael Palahniuk", "Birthday": "1962-02-21" } ]
, :
:
["Iain Menzies Banks", "Charles Michael Palahniuk"]
SQL , . :
() :
SELECT * FROM `authors` WHERE id=1
:
[ { "id": "1", "Name": "Iain Menzies Banks", "Birthday": "1954-02-16" } ]
() :
SELECT * FROM `authors` WHERE Name LIKE '%Banks%'
:
SELECT * FROM `authors` WHERE (`Birthday` < '1990-01-01' AND `Birthday` > '1920-01-01') ORDER BY `Name` ASC
AND WHERE, ( , ORDER BY)
INSERT, UPDATE DELETE -, .
INSERT :
INSERT INTO `authors` (`id`, `Name`, `Birthday`) VALUES ('1', 'Iain Menzies Banks', '1954-02-16')
UPDATE:
UPDATE `authors` SET `Name`='Iain Banks', `Birthday`='1954-02-17' WHERE `id`='1'
DELETE:
DELETE FROM `authors` WHERE `Birthday`<'1954-02-17'
PDO.
, JOIN . , SQL . , , , MySQL .
" !"
, , (MySQL, PHP HTML) , :
library.tpl . :
<div> <select> <option value=''>all authors</option> %author-list% </select> </div> <br /> <div>%book-list%</div>
: %author-list% %book-list%. option, . β , β "book block", HTML . , ( jquery library.tpl).
%author-list% Copy ("Author Copy"), "authors" "option", , "value" id. "Author Copy" :
<option value='1'>Iain Menzies Banks</option> <option value='2'>Charles Michael Palahniuk</option> <option value='3'>Mikhail Bulgakov</option>
"book block" :
<div class='author-%author-id%'> <img width='100' src='images/%image%' align='left' /> <b>%title%</b> by <b>%author%</b> <br /> ISBN: %isbn%<br /> <small>%description%</small> <br clear='all'/> </div>
"books" "authors". "authors" . , "books".
:
. . β , , . :
β , . . -. , . , . , . (include), , . , . MySQL.
β PHP . β , . . , , , ( ).
β , . , . , , .
. -. , β Mooha.net .
:
HTML5 Canvas Javascript ( ) JQuery 2.0 ( ) Codemirror ( ) CKEditor ( ) Spectrum Colorpicker ( ) jQuery File Tree Plugin ( )
:
Apache 2.2.22 PHP 5.4.3 MySQL 5.5.24
%title% "title" . %content% "content" . :
<div> <h1>first title</h1> <p>first content</p> </div> <div> <h1>second title</h1> <p>second content</p> </div>
Copy foreach , . for, , , ( ).
MySQL

β , β SELECT, - . , "*", :
SELECT * FROM `authors`
JSON. "" :
[ { "id": "1", "Name": "Iain Menzies Banks", "Birthday": "1954-02-16" }, { "id": "2", "Name": "Charles Michael Palahniuk", "Birthday": "1962-02-21" } ]
, :

:
["Iain Menzies Banks", "Charles Michael Palahniuk"]
SQL , . :

() :
SELECT * FROM `authors` WHERE id=1
:
[ { "id": "1", "Name": "Iain Menzies Banks", "Birthday": "1954-02-16" } ]
() :
SELECT * FROM `authors` WHERE Name LIKE '%Banks%'
:

SELECT * FROM `authors` WHERE (`Birthday` < '1990-01-01' AND `Birthday` > '1920-01-01') ORDER BY `Name` ASC
AND WHERE, ( , ORDER BY)
INSERT, UPDATE DELETE -, .
INSERT :

INSERT INTO `authors` (`id`, `Name`, `Birthday`) VALUES ('1', 'Iain Menzies Banks', '1954-02-16')
UPDATE:

UPDATE `authors` SET `Name`='Iain Banks', `Birthday`='1954-02-17' WHERE `id`='1'
DELETE:

DELETE FROM `authors` WHERE `Birthday`<'1954-02-17'
PDO.
, JOIN . , SQL . , , , MySQL .
" !"
, , (MySQL, PHP HTML) , :

library.tpl . :
<div> <select> <option value=''>all authors</option> %author-list% </select> </div> <br /> <div>%book-list%</div>
: %author-list% %book-list%. option, . β , β "book block", HTML . , ( jquery library.tpl).
%author-list% Copy ("Author Copy"), "authors" "option", , "value" id. "Author Copy" :
<option value='1'>Iain Menzies Banks</option> <option value='2'>Charles Michael Palahniuk</option> <option value='3'>Mikhail Bulgakov</option>
"book block" :
<div class='author-%author-id%'> <img width='100' src='images/%image%' align='left' /> <b>%title%</b> by <b>%author%</b> <br /> ISBN: %isbn%<br /> <small>%description%</small> <br clear='all'/> </div>
"books" "authors". "authors" . , "books".
:
. . β , , . :
β , . . -. , . , . , . (include), , . , . MySQL.
β PHP . β , . . , , , ( ).
β , . , . , , .
. -. , β Mooha.net .
:
HTML5 Canvas Javascript ( ) JQuery 2.0 ( ) Codemirror ( ) CKEditor ( ) Spectrum Colorpicker ( ) jQuery File Tree Plugin ( )
:
Apache 2.2.22 PHP 5.4.3 MySQL 5.5.24
%title% "title" . %content% "content" . :
<div> <h1>first title</h1> <p>first content</p> </div> <div> <h1>second title</h1> <p>second content</p> </div>
Copy foreach , . for, , , ( ).
MySQL
β , β SELECT, - . , "*", :
SELECT * FROM `authors`
JSON. "" :
[ { "id": "1", "Name": "Iain Menzies Banks", "Birthday": "1954-02-16" }, { "id": "2", "Name": "Charles Michael Palahniuk", "Birthday": "1962-02-21" } ]
, :
:
["Iain Menzies Banks", "Charles Michael Palahniuk"]
SQL , . :
() :
SELECT * FROM `authors` WHERE id=1
:
[ { "id": "1", "Name": "Iain Menzies Banks", "Birthday": "1954-02-16" } ]
() :
SELECT * FROM `authors` WHERE Name LIKE '%Banks%'
:
SELECT * FROM `authors` WHERE (`Birthday` < '1990-01-01' AND `Birthday` > '1920-01-01') ORDER BY `Name` ASC
AND WHERE, ( , ORDER BY)
INSERT, UPDATE DELETE -, .
INSERT :
INSERT INTO `authors` (`id`, `Name`, `Birthday`) VALUES ('1', 'Iain Menzies Banks', '1954-02-16')
UPDATE:
UPDATE `authors` SET `Name`='Iain Banks', `Birthday`='1954-02-17' WHERE `id`='1'
DELETE:
DELETE FROM `authors` WHERE `Birthday`<'1954-02-17'
PDO.
, JOIN . , SQL . , , , MySQL .
" !"
, , (MySQL, PHP HTML) , :
library.tpl . :
<div> <select> <option value=''>all authors</option> %author-list% </select> </div> <br /> <div>%book-list%</div>
: %author-list% %book-list%. option, . β , β "book block", HTML . , ( jquery library.tpl).
%author-list% Copy ("Author Copy"), "authors" "option", , "value" id. "Author Copy" :
<option value='1'>Iain Menzies Banks</option> <option value='2'>Charles Michael Palahniuk</option> <option value='3'>Mikhail Bulgakov</option>
"book block" :
<div class='author-%author-id%'> <img width='100' src='images/%image%' align='left' /> <b>%title%</b> by <b>%author%</b> <br /> ISBN: %isbn%<br /> <small>%description%</small> <br clear='all'/> </div>
"books" "authors". "authors" . , "books".
:
. . β , , . :
β , . . -. , . , . , . (include), , . , . MySQL.
β PHP . β , . . , , , ( ).
β , . , . , , .
. -. , β Mooha.net .
:
HTML5 Canvas Javascript ( ) JQuery 2.0 ( ) Codemirror ( ) CKEditor ( ) Spectrum Colorpicker ( ) jQuery File Tree Plugin ( )
:
Apache 2.2.22 PHP 5.4.3 MySQL 5.5.24
%title% "title" . %content% "content" . :
<div> <h1>first title</h1> <p>first content</p> </div> <div> <h1>second title</h1> <p>second content</p> </div>
Copy foreach , . for, , , ( ).
MySQL

β , β SELECT, - . , "*", :
SELECT * FROM `authors`
JSON. "" :
[ { "id": "1", "Name": "Iain Menzies Banks", "Birthday": "1954-02-16" }, { "id": "2", "Name": "Charles Michael Palahniuk", "Birthday": "1962-02-21" } ]
, :

:
["Iain Menzies Banks", "Charles Michael Palahniuk"]
SQL , . :

() :
SELECT * FROM `authors` WHERE id=1
:
[ { "id": "1", "Name": "Iain Menzies Banks", "Birthday": "1954-02-16" } ]
() :
SELECT * FROM `authors` WHERE Name LIKE '%Banks%'
:

SELECT * FROM `authors` WHERE (`Birthday` < '1990-01-01' AND `Birthday` > '1920-01-01') ORDER BY `Name` ASC
AND WHERE, ( , ORDER BY)
INSERT, UPDATE DELETE -, .
INSERT :

INSERT INTO `authors` (`id`, `Name`, `Birthday`) VALUES ('1', 'Iain Menzies Banks', '1954-02-16')
UPDATE:

UPDATE `authors` SET `Name`='Iain Banks', `Birthday`='1954-02-17' WHERE `id`='1'
DELETE:

DELETE FROM `authors` WHERE `Birthday`<'1954-02-17'
PDO.
, JOIN . , SQL . , , , MySQL .
" !"
, , (MySQL, PHP HTML) , :

library.tpl . :
<div> <select> <option value=''>all authors</option> %author-list% </select> </div> <br /> <div>%book-list%</div>
: %author-list% %book-list%. option, . β , β "book block", HTML . , ( jquery library.tpl).
%author-list% Copy ("Author Copy"), "authors" "option", , "value" id. "Author Copy" :
<option value='1'>Iain Menzies Banks</option> <option value='2'>Charles Michael Palahniuk</option> <option value='3'>Mikhail Bulgakov</option>
"book block" :
<div class='author-%author-id%'> <img width='100' src='images/%image%' align='left' /> <b>%title%</b> by <b>%author%</b> <br /> ISBN: %isbn%<br /> <small>%description%</small> <br clear='all'/> </div>
"books" "authors". "authors" . , "books".
:
. . β , , . :
β , . . -. , . , . , . (include), , . , . MySQL.
β PHP . β , . . , , , ( ).
β , . , . , , .
. -. , β Mooha.net .
:
HTML5 Canvas Javascript ( ) JQuery 2.0 ( ) Codemirror ( ) CKEditor ( ) Spectrum Colorpicker ( ) jQuery File Tree Plugin ( )
:
Apache 2.2.22 PHP 5.4.3 MySQL 5.5.24
%title% "title" . %content% "content" . :
<div> <h1>first title</h1> <p>first content</p> </div> <div> <h1>second title</h1> <p>second content</p> </div>
Copy foreach , . for, , , ( ).
MySQL

β , β SELECT, - . , "*", :
SELECT * FROM `authors`
JSON. "" :
[ { "id": "1", "Name": "Iain Menzies Banks", "Birthday": "1954-02-16" }, { "id": "2", "Name": "Charles Michael Palahniuk", "Birthday": "1962-02-21" } ]
, :

:
["Iain Menzies Banks", "Charles Michael Palahniuk"]
SQL , . :

() :
SELECT * FROM `authors` WHERE id=1
:
[ { "id": "1", "Name": "Iain Menzies Banks", "Birthday": "1954-02-16" } ]
() :
SELECT * FROM `authors` WHERE Name LIKE '%Banks%'
:

SELECT * FROM `authors` WHERE (`Birthday` < '1990-01-01' AND `Birthday` > '1920-01-01') ORDER BY `Name` ASC
AND WHERE, ( , ORDER BY)
INSERT, UPDATE DELETE -, .
INSERT :

INSERT INTO `authors` (`id`, `Name`, `Birthday`) VALUES ('1', 'Iain Menzies Banks', '1954-02-16')
UPDATE:

UPDATE `authors` SET `Name`='Iain Banks', `Birthday`='1954-02-17' WHERE `id`='1'
DELETE:

DELETE FROM `authors` WHERE `Birthday`<'1954-02-17'
PDO.
, JOIN . , SQL . , , , MySQL .
" !"
, , (MySQL, PHP HTML) , :

library.tpl . :
<div> <select> <option value=''>all authors</option> %author-list% </select> </div> <br /> <div>%book-list%</div>
: %author-list% %book-list%. option, . β , β "book block", HTML . , ( jquery library.tpl).
%author-list% Copy ("Author Copy"), "authors" "option", , "value" id. "Author Copy" :
<option value='1'>Iain Menzies Banks</option> <option value='2'>Charles Michael Palahniuk</option> <option value='3'>Mikhail Bulgakov</option>
"book block" :
<div class='author-%author-id%'> <img width='100' src='images/%image%' align='left' /> <b>%title%</b> by <b>%author%</b> <br /> ISBN: %isbn%<br /> <small>%description%</small> <br clear='all'/> </div>
"books" "authors". "authors" . , "books".
:
. . β , , . :
β , . . -. , . , . , . (include), , . , . MySQL.
β PHP . β , . . , , , ( ).
β , . , . , , .
. -. , β Mooha.net .
:
HTML5 Canvas Javascript ( ) JQuery 2.0 ( ) Codemirror ( ) CKEditor ( ) Spectrum Colorpicker ( ) jQuery File Tree Plugin ( )
:
Apache 2.2.22 PHP 5.4.3 MySQL 5.5.24
%title% "title" . %content% "content" . :
<div> <h1>first title</h1> <p>first content</p> </div> <div> <h1>second title</h1> <p>second content</p> </div>
Copy foreach , . for, , , ( ).
MySQL

β , β SELECT, - . , "*", :
SELECT * FROM `authors`
JSON. "" :
[ { "id": "1", "Name": "Iain Menzies Banks", "Birthday": "1954-02-16" }, { "id": "2", "Name": "Charles Michael Palahniuk", "Birthday": "1962-02-21" } ]
, :

:
["Iain Menzies Banks", "Charles Michael Palahniuk"]
SQL , . :

() :
SELECT * FROM `authors` WHERE id=1
:
[ { "id": "1", "Name": "Iain Menzies Banks", "Birthday": "1954-02-16" } ]
() :
SELECT * FROM `authors` WHERE Name LIKE '%Banks%'
:

SELECT * FROM `authors` WHERE (`Birthday` < '1990-01-01' AND `Birthday` > '1920-01-01') ORDER BY `Name` ASC
AND WHERE, ( , ORDER BY)
INSERT, UPDATE DELETE -, .
INSERT :

INSERT INTO `authors` (`id`, `Name`, `Birthday`) VALUES ('1', 'Iain Menzies Banks', '1954-02-16')
UPDATE:

UPDATE `authors` SET `Name`='Iain Banks', `Birthday`='1954-02-17' WHERE `id`='1'
DELETE:

DELETE FROM `authors` WHERE `Birthday`<'1954-02-17'
PDO.
, JOIN . , SQL . , , , MySQL .
" !"
, , (MySQL, PHP HTML) , :

library.tpl . :
<div> <select> <option value=''>all authors</option> %author-list% </select> </div> <br /> <div>%book-list%</div>
: %author-list% %book-list%. option, . β , β "book block", HTML . , ( jquery library.tpl).
%author-list% Copy ("Author Copy"), "authors" "option", , "value" id. "Author Copy" :
<option value='1'>Iain Menzies Banks</option> <option value='2'>Charles Michael Palahniuk</option> <option value='3'>Mikhail Bulgakov</option>
"book block" :
<div class='author-%author-id%'> <img width='100' src='images/%image%' align='left' /> <b>%title%</b> by <b>%author%</b> <br /> ISBN: %isbn%<br /> <small>%description%</small> <br clear='all'/> </div>
"books" "authors". "authors" . , "books".
:
. . β , , . :
β , . . -. , . , . , . (include), , . , . MySQL.
β PHP . β , . . , , , ( ).
β , . , . , , .
. -. , β Mooha.net .
:
HTML5 Canvas Javascript ( ) JQuery 2.0 ( ) Codemirror ( ) CKEditor ( ) Spectrum Colorpicker ( ) jQuery File Tree Plugin ( )
:
Apache 2.2.22 PHP 5.4.3 MySQL 5.5.24
%title% "title" . %content% "content" . :
<div> <h1>first title</h1> <p>first content</p> </div> <div> <h1>second title</h1> <p>second content</p> </div>
Copy foreach , . for, , , ( ).
MySQL
β , β SELECT, - . , "*", :
SELECT * FROM `authors`
JSON. "" :
[ { "id": "1", "Name": "Iain Menzies Banks", "Birthday": "1954-02-16" }, { "id": "2", "Name": "Charles Michael Palahniuk", "Birthday": "1962-02-21" } ]
, :
:
["Iain Menzies Banks", "Charles Michael Palahniuk"]
SQL , . :
() :
SELECT * FROM `authors` WHERE id=1
:
[ { "id": "1", "Name": "Iain Menzies Banks", "Birthday": "1954-02-16" } ]
() :
SELECT * FROM `authors` WHERE Name LIKE '%Banks%'
:
SELECT * FROM `authors` WHERE (`Birthday` < '1990-01-01' AND `Birthday` > '1920-01-01') ORDER BY `Name` ASC
AND WHERE, ( , ORDER BY)
INSERT, UPDATE DELETE -, .
INSERT :
INSERT INTO `authors` (`id`, `Name`, `Birthday`) VALUES ('1', 'Iain Menzies Banks', '1954-02-16')
UPDATE:
UPDATE `authors` SET `Name`='Iain Banks', `Birthday`='1954-02-17' WHERE `id`='1'
DELETE:
DELETE FROM `authors` WHERE `Birthday`<'1954-02-17'
PDO.
, JOIN . , SQL . , , , MySQL .
" !"
, , (MySQL, PHP HTML) , :
library.tpl . :
<div> <select> <option value=''>all authors</option> %author-list% </select> </div> <br /> <div>%book-list%</div>
: %author-list% %book-list%. option, . β , β "book block", HTML . , ( jquery library.tpl).
%author-list% Copy ("Author Copy"), "authors" "option", , "value" id. "Author Copy" :
<option value='1'>Iain Menzies Banks</option> <option value='2'>Charles Michael Palahniuk</option> <option value='3'>Mikhail Bulgakov</option>
"book block" :
<div class='author-%author-id%'> <img width='100' src='images/%image%' align='left' /> <b>%title%</b> by <b>%author%</b> <br /> ISBN: %isbn%<br /> <small>%description%</small> <br clear='all'/> </div>
"books" "authors". "authors" . , "books".
:
. . β , , . :
β , . . -. , . , . , . (include), , . , . MySQL.
β PHP . β , . . , , , ( ).
β , . , . , , .
. -. , β Mooha.net .
:
HTML5 Canvas Javascript ( ) JQuery 2.0 ( ) Codemirror ( ) CKEditor ( ) Spectrum Colorpicker ( ) jQuery File Tree Plugin ( )
:
Apache 2.2.22 PHP 5.4.3 MySQL 5.5.24
%title% "title" . %content% "content" . :
<div> <h1>first title</h1> <p>first content</p> </div> <div> <h1>second title</h1> <p>second content</p> </div>
Copy foreach , . for, , , ( ).
MySQL

β , β SELECT, - . , "*", :
SELECT * FROM `authors`
JSON. "" :
[ { "id": "1", "Name": "Iain Menzies Banks", "Birthday": "1954-02-16" }, { "id": "2", "Name": "Charles Michael Palahniuk", "Birthday": "1962-02-21" } ]
, :

:
["Iain Menzies Banks", "Charles Michael Palahniuk"]
SQL , . :

() :
SELECT * FROM `authors` WHERE id=1
:
[ { "id": "1", "Name": "Iain Menzies Banks", "Birthday": "1954-02-16" } ]
() :
SELECT * FROM `authors` WHERE Name LIKE '%Banks%'
:

SELECT * FROM `authors` WHERE (`Birthday` < '1990-01-01' AND `Birthday` > '1920-01-01') ORDER BY `Name` ASC
AND WHERE, ( , ORDER BY)
INSERT, UPDATE DELETE -, .
INSERT :

INSERT INTO `authors` (`id`, `Name`, `Birthday`) VALUES ('1', 'Iain Menzies Banks', '1954-02-16')
UPDATE:

UPDATE `authors` SET `Name`='Iain Banks', `Birthday`='1954-02-17' WHERE `id`='1'
DELETE:

DELETE FROM `authors` WHERE `Birthday`<'1954-02-17'
PDO.
, JOIN . , SQL . , , , MySQL .
" !"
, , (MySQL, PHP HTML) , :

library.tpl . :
<div> <select> <option value=''>all authors</option> %author-list% </select> </div> <br /> <div>%book-list%</div>
: %author-list% %book-list%. option, . β , β "book block", HTML . , ( jquery library.tpl).
%author-list% Copy ("Author Copy"), "authors" "option", , "value" id. "Author Copy" :
<option value='1'>Iain Menzies Banks</option> <option value='2'>Charles Michael Palahniuk</option> <option value='3'>Mikhail Bulgakov</option>
"book block" :
<div class='author-%author-id%'> <img width='100' src='images/%image%' align='left' /> <b>%title%</b> by <b>%author%</b> <br /> ISBN: %isbn%<br /> <small>%description%</small> <br clear='all'/> </div>
"books" "authors". "authors" . , "books".
:
. . β , , . :
β , . . -. , . , . , . (include), , . , . MySQL.
β PHP . β , . . , , , ( ).
β , . , . , , .
. -. , β Mooha.net .
:
HTML5 Canvas Javascript ( ) JQuery 2.0 ( ) Codemirror ( ) CKEditor ( ) Spectrum Colorpicker ( ) jQuery File Tree Plugin ( )
:
Apache 2.2.22 PHP 5.4.3 MySQL 5.5.24
%title% "title" . %content% "content" . :
<div> <h1>first title</h1> <p>first content</p> </div> <div> <h1>second title</h1> <p>second content</p> </div>
Copy foreach , . for, , , ( ).
MySQL
β , β SELECT, - . , "*", :
SELECT * FROM `authors`
JSON. "" :
[ { "id": "1", "Name": "Iain Menzies Banks", "Birthday": "1954-02-16" }, { "id": "2", "Name": "Charles Michael Palahniuk", "Birthday": "1962-02-21" } ]
, :
:
["Iain Menzies Banks", "Charles Michael Palahniuk"]
SQL , . :
() :
SELECT * FROM `authors` WHERE id=1
:
[ { "id": "1", "Name": "Iain Menzies Banks", "Birthday": "1954-02-16" } ]
() :
SELECT * FROM `authors` WHERE Name LIKE '%Banks%'
:
SELECT * FROM `authors` WHERE (`Birthday` < '1990-01-01' AND `Birthday` > '1920-01-01') ORDER BY `Name` ASC
AND WHERE, ( , ORDER BY)
INSERT, UPDATE DELETE -, .
INSERT :
INSERT INTO `authors` (`id`, `Name`, `Birthday`) VALUES ('1', 'Iain Menzies Banks', '1954-02-16')
UPDATE:
UPDATE `authors` SET `Name`='Iain Banks', `Birthday`='1954-02-17' WHERE `id`='1'
DELETE:
DELETE FROM `authors` WHERE `Birthday`<'1954-02-17'
PDO.
, JOIN . , SQL . , , , MySQL .
" !"
, , (MySQL, PHP HTML) , :
library.tpl . :
<div> <select> <option value=''>all authors</option> %author-list% </select> </div> <br /> <div>%book-list%</div>
: %author-list% %book-list%. option, . β , β "book block", HTML . , ( jquery library.tpl).
%author-list% Copy ("Author Copy"), "authors" "option", , "value" id. "Author Copy" :
<option value='1'>Iain Menzies Banks</option> <option value='2'>Charles Michael Palahniuk</option> <option value='3'>Mikhail Bulgakov</option>
"book block" :
<div class='author-%author-id%'> <img width='100' src='images/%image%' align='left' /> <b>%title%</b> by <b>%author%</b> <br /> ISBN: %isbn%<br /> <small>%description%</small> <br clear='all'/> </div>
"books" "authors". "authors" . , "books".
:
. . β , , . :
β , . . -. , . , . , . (include), , . , . MySQL.
β PHP . β , . . , , , ( ).
β , . , . , , .
. -. , β Mooha.net .
:
HTML5 Canvas Javascript ( ) JQuery 2.0 ( ) Codemirror ( ) CKEditor ( ) Spectrum Colorpicker ( ) jQuery File Tree Plugin ( )
:
Apache 2.2.22 PHP 5.4.3 MySQL 5.5.24
%title% "title" . %content% "content" . :
<div> <h1>first title</h1> <p>first content</p> </div> <div> <h1>second title</h1> <p>second content</p> </div>
Copy foreach , . for, , , ( ).
MySQL

β , β SELECT, - . , "*", :
SELECT * FROM `authors`
JSON. "" :
[ { "id": "1", "Name": "Iain Menzies Banks", "Birthday": "1954-02-16" }, { "id": "2", "Name": "Charles Michael Palahniuk", "Birthday": "1962-02-21" } ]
, :

:
["Iain Menzies Banks", "Charles Michael Palahniuk"]
SQL , . :

() :
SELECT * FROM `authors` WHERE id=1
:
[ { "id": "1", "Name": "Iain Menzies Banks", "Birthday": "1954-02-16" } ]
() :
SELECT * FROM `authors` WHERE Name LIKE '%Banks%'
:

SELECT * FROM `authors` WHERE (`Birthday` < '1990-01-01' AND `Birthday` > '1920-01-01') ORDER BY `Name` ASC
AND WHERE, ( , ORDER BY)
INSERT, UPDATE DELETE -, .
INSERT :

INSERT INTO `authors` (`id`, `Name`, `Birthday`) VALUES ('1', 'Iain Menzies Banks', '1954-02-16')
UPDATE:

UPDATE `authors` SET `Name`='Iain Banks', `Birthday`='1954-02-17' WHERE `id`='1'
DELETE:

DELETE FROM `authors` WHERE `Birthday`<'1954-02-17'
PDO.
, JOIN . , SQL . , , , MySQL .
" !"
, , (MySQL, PHP HTML) , :

library.tpl . :
<div> <select> <option value=''>all authors</option> %author-list% </select> </div> <br /> <div>%book-list%</div>
: %author-list% %book-list%. option, . β , β "book block", HTML . , ( jquery library.tpl).
%author-list% Copy ("Author Copy"), "authors" "option", , "value" id. "Author Copy" :
<option value='1'>Iain Menzies Banks</option> <option value='2'>Charles Michael Palahniuk</option> <option value='3'>Mikhail Bulgakov</option>
"book block" :
<div class='author-%author-id%'> <img width='100' src='images/%image%' align='left' /> <b>%title%</b> by <b>%author%</b> <br /> ISBN: %isbn%<br /> <small>%description%</small> <br clear='all'/> </div>
"books" "authors". "authors" . , "books".
:
. . β , , . :
β , . . -. , . , . , . (include), , . , . MySQL.
β PHP . β , . . , , , ( ).
β , . , . , , .
. -. , β Mooha.net .
:
HTML5 Canvas Javascript ( ) JQuery 2.0 ( ) Codemirror ( ) CKEditor ( ) Spectrum Colorpicker ( ) jQuery File Tree Plugin ( )
:
Apache 2.2.22 PHP 5.4.3 MySQL 5.5.24
%title% "title" . %content% "content" . :
<div> <h1>first title</h1> <p>first content</p> </div> <div> <h1>second title</h1> <p>second content</p> </div>
Copy foreach , . for, , , ( ).
MySQL
β , β SELECT, - . , "*", :
SELECT * FROM `authors`
JSON. "" :
[ { "id": "1", "Name": "Iain Menzies Banks", "Birthday": "1954-02-16" }, { "id": "2", "Name": "Charles Michael Palahniuk", "Birthday": "1962-02-21" } ]
, :
:
["Iain Menzies Banks", "Charles Michael Palahniuk"]
SQL , . :
() :
SELECT * FROM `authors` WHERE id=1
:
[ { "id": "1", "Name": "Iain Menzies Banks", "Birthday": "1954-02-16" } ]
() :
SELECT * FROM `authors` WHERE Name LIKE '%Banks%'
:
SELECT * FROM `authors` WHERE (`Birthday` < '1990-01-01' AND `Birthday` > '1920-01-01') ORDER BY `Name` ASC
AND WHERE, ( , ORDER BY)
INSERT, UPDATE DELETE -, .
INSERT :
INSERT INTO `authors` (`id`, `Name`, `Birthday`) VALUES ('1', 'Iain Menzies Banks', '1954-02-16')
UPDATE:
UPDATE `authors` SET `Name`='Iain Banks', `Birthday`='1954-02-17' WHERE `id`='1'
DELETE:
DELETE FROM `authors` WHERE `Birthday`<'1954-02-17'
PDO.
, JOIN . , SQL . , , , MySQL .
" !"
, , (MySQL, PHP HTML) , :
library.tpl . :
<div> <select> <option value=''>all authors</option> %author-list% </select> </div> <br /> <div>%book-list%</div>
: %author-list% %book-list%. option, . β , β "book block", HTML . , ( jquery library.tpl).
%author-list% Copy ("Author Copy"), "authors" "option", , "value" id. "Author Copy" :
<option value='1'>Iain Menzies Banks</option> <option value='2'>Charles Michael Palahniuk</option> <option value='3'>Mikhail Bulgakov</option>
"book block" :
<div class='author-%author-id%'> <img width='100' src='images/%image%' align='left' /> <b>%title%</b> by <b>%author%</b> <br /> ISBN: %isbn%<br /> <small>%description%</small> <br clear='all'/> </div>
"books" "authors". "authors" . , "books".
:
. . β , , . :
β , . . -. , . , . , . (include), , . , . MySQL.
β PHP . β , . . , , , ( ).
β , . , . , , .
. -. , β Mooha.net .
:
HTML5 Canvas Javascript ( ) JQuery 2.0 ( ) Codemirror ( ) CKEditor ( ) Spectrum Colorpicker ( ) jQuery File Tree Plugin ( )
:
Apache 2.2.22 PHP 5.4.3 MySQL 5.5.24
%title% "title" . %content% "content" . :
<div> <h1>first title</h1> <p>first content</p> </div> <div> <h1>second title</h1> <p>second content</p> </div>
Copy foreach , . for, , , ( ).
MySQL

β , β SELECT, - . , "*", :
SELECT * FROM `authors`
JSON. "" :
[ { "id": "1", "Name": "Iain Menzies Banks", "Birthday": "1954-02-16" }, { "id": "2", "Name": "Charles Michael Palahniuk", "Birthday": "1962-02-21" } ]
, :

:
["Iain Menzies Banks", "Charles Michael Palahniuk"]
SQL , . :

() :
SELECT * FROM `authors` WHERE id=1
:
[ { "id": "1", "Name": "Iain Menzies Banks", "Birthday": "1954-02-16" } ]
() :
SELECT * FROM `authors` WHERE Name LIKE '%Banks%'
:

SELECT * FROM `authors` WHERE (`Birthday` < '1990-01-01' AND `Birthday` > '1920-01-01') ORDER BY `Name` ASC
AND WHERE, ( , ORDER BY)
INSERT, UPDATE DELETE -, .
INSERT :

INSERT INTO `authors` (`id`, `Name`, `Birthday`) VALUES ('1', 'Iain Menzies Banks', '1954-02-16')
UPDATE:

UPDATE `authors` SET `Name`='Iain Banks', `Birthday`='1954-02-17' WHERE `id`='1'
DELETE:

DELETE FROM `authors` WHERE `Birthday`<'1954-02-17'
PDO.
, JOIN . , SQL . , , , MySQL .
" !"
, , (MySQL, PHP HTML) , :

library.tpl . :
<div> <select> <option value=''>all authors</option> %author-list% </select> </div> <br /> <div>%book-list%</div>
: %author-list% %book-list%. option, . β , β "book block", HTML . , ( jquery library.tpl).
%author-list% Copy ("Author Copy"), "authors" "option", , "value" id. "Author Copy" :
<option value='1'>Iain Menzies Banks</option> <option value='2'>Charles Michael Palahniuk</option> <option value='3'>Mikhail Bulgakov</option>
"book block" :
<div class='author-%author-id%'> <img width='100' src='images/%image%' align='left' /> <b>%title%</b> by <b>%author%</b> <br /> ISBN: %isbn%<br /> <small>%description%</small> <br clear='all'/> </div>
"books" "authors". "authors" . , "books".
:
. . β , , . :
β , . . -. , . , . , . (include), , . , . MySQL.
β PHP . β , . . , , , ( ).
β , . , . , , .
. -. , β Mooha.net .
:
HTML5 Canvas Javascript ( ) JQuery 2.0 ( ) Codemirror ( ) CKEditor ( ) Spectrum Colorpicker ( ) jQuery File Tree Plugin ( )
:
Apache 2.2.22 PHP 5.4.3 MySQL 5.5.24
%title% "title" . %content% "content" . :
<div> <h1>first title</h1> <p>first content</p> </div> <div> <h1>second title</h1> <p>second content</p> </div>
Copy foreach , . for, , , ( ).
MySQL

β , β SELECT, - . , "*", :
SELECT * FROM `authors`
JSON. "" :
[ { "id": "1", "Name": "Iain Menzies Banks", "Birthday": "1954-02-16" }, { "id": "2", "Name": "Charles Michael Palahniuk", "Birthday": "1962-02-21" } ]
, :

:
["Iain Menzies Banks", "Charles Michael Palahniuk"]
SQL , . :

() :
SELECT * FROM `authors` WHERE id=1
:
[ { "id": "1", "Name": "Iain Menzies Banks", "Birthday": "1954-02-16" } ]
() :
SELECT * FROM `authors` WHERE Name LIKE '%Banks%'
:

SELECT * FROM `authors` WHERE (`Birthday` < '1990-01-01' AND `Birthday` > '1920-01-01') ORDER BY `Name` ASC
AND WHERE, ( , ORDER BY)
INSERT, UPDATE DELETE -, .
INSERT :

INSERT INTO `authors` (`id`, `Name`, `Birthday`) VALUES ('1', 'Iain Menzies Banks', '1954-02-16')
UPDATE:

UPDATE `authors` SET `Name`='Iain Banks', `Birthday`='1954-02-17' WHERE `id`='1'
DELETE:

DELETE FROM `authors` WHERE `Birthday`<'1954-02-17'
PDO.
, JOIN . , SQL . , , , MySQL .
" !"
, , (MySQL, PHP HTML) , :

library.tpl . :
<div> <select> <option value=''>all authors</option> %author-list% </select> </div> <br /> <div>%book-list%</div>
: %author-list% %book-list%. option, . β , β "book block", HTML . , ( jquery library.tpl).
%author-list% Copy ("Author Copy"), "authors" "option", , "value" id. "Author Copy" :
<option value='1'>Iain Menzies Banks</option> <option value='2'>Charles Michael Palahniuk</option> <option value='3'>Mikhail Bulgakov</option>
"book block" :
<div class='author-%author-id%'> <img width='100' src='images/%image%' align='left' /> <b>%title%</b> by <b>%author%</b> <br /> ISBN: %isbn%<br /> <small>%description%</small> <br clear='all'/> </div>
"books" "authors". "authors" . , "books".
:
. . β , , . :
β , . . -. , . , . , . (include), , . , . MySQL.
β PHP . β , . . , , , ( ).
β , . , . , , .
. -. , β Mooha.net .
:
HTML5 Canvas Javascript ( ) JQuery 2.0 ( ) Codemirror ( ) CKEditor ( ) Spectrum Colorpicker ( ) jQuery File Tree Plugin ( )
:
Apache 2.2.22 PHP 5.4.3 MySQL 5.5.24
%title% "title" . %content% "content" . :
<div> <h1>first title</h1> <p>first content</p> </div> <div> <h1>second title</h1> <p>second content</p> </div>
Copy foreach , . for, , , ( ).
MySQL

β , β SELECT, - . , "*", :
SELECT * FROM `authors`
JSON. "" :
[ { "id": "1", "Name": "Iain Menzies Banks", "Birthday": "1954-02-16" }, { "id": "2", "Name": "Charles Michael Palahniuk", "Birthday": "1962-02-21" } ]
, :

:
["Iain Menzies Banks", "Charles Michael Palahniuk"]
SQL , . :

() :
SELECT * FROM `authors` WHERE id=1
:
[ { "id": "1", "Name": "Iain Menzies Banks", "Birthday": "1954-02-16" } ]
() :
SELECT * FROM `authors` WHERE Name LIKE '%Banks%'
:

SELECT * FROM `authors` WHERE (`Birthday` < '1990-01-01' AND `Birthday` > '1920-01-01') ORDER BY `Name` ASC
AND WHERE, ( , ORDER BY)
INSERT, UPDATE DELETE -, .
INSERT :

INSERT INTO `authors` (`id`, `Name`, `Birthday`) VALUES ('1', 'Iain Menzies Banks', '1954-02-16')
UPDATE:

UPDATE `authors` SET `Name`='Iain Banks', `Birthday`='1954-02-17' WHERE `id`='1'
DELETE:

DELETE FROM `authors` WHERE `Birthday`<'1954-02-17'
PDO.
, JOIN . , SQL . , , , MySQL .
" !"
, , (MySQL, PHP HTML) , :

library.tpl . :
<div> <select> <option value=''>all authors</option> %author-list% </select> </div> <br /> <div>%book-list%</div>
: %author-list% %book-list%. option, . β , β "book block", HTML . , ( jquery library.tpl).
%author-list% Copy ("Author Copy"), "authors" "option", , "value" id. "Author Copy" :
<option value='1'>Iain Menzies Banks</option> <option value='2'>Charles Michael Palahniuk</option> <option value='3'>Mikhail Bulgakov</option>
"book block" :
<div class='author-%author-id%'> <img width='100' src='images/%image%' align='left' /> <b>%title%</b> by <b>%author%</b> <br /> ISBN: %isbn%<br /> <small>%description%</small> <br clear='all'/> </div>
"books" "authors". "authors" . , "books".
:
. . β , , . :
β , . . -. , . , . , . (include), , . , . MySQL.
β PHP . β , . . , , , ( ).
β , . , . , , .
. -. , β Mooha.net .
:
HTML5 Canvas Javascript ( ) JQuery 2.0 ( ) Codemirror ( ) CKEditor ( ) Spectrum Colorpicker ( ) jQuery File Tree Plugin ( )
:
Apache 2.2.22 PHP 5.4.3 MySQL 5.5.24
%title% "title" . %content% "content" . :
<div> <h1>first title</h1> <p>first content</p> </div> <div> <h1>second title</h1> <p>second content</p> </div>
Copy foreach , . for, , , ( ).
MySQL

β , β SELECT, - . , "*", :
SELECT * FROM `authors`
JSON. "" :
[ { "id": "1", "Name": "Iain Menzies Banks", "Birthday": "1954-02-16" }, { "id": "2", "Name": "Charles Michael Palahniuk", "Birthday": "1962-02-21" } ]
, :

:
["Iain Menzies Banks", "Charles Michael Palahniuk"]
SQL , . :

() :
SELECT * FROM `authors` WHERE id=1
:
[ { "id": "1", "Name": "Iain Menzies Banks", "Birthday": "1954-02-16" } ]
() :
SELECT * FROM `authors` WHERE Name LIKE '%Banks%'
:

SELECT * FROM `authors` WHERE (`Birthday` < '1990-01-01' AND `Birthday` > '1920-01-01') ORDER BY `Name` ASC
AND WHERE, ( , ORDER BY)
INSERT, UPDATE DELETE -, .
INSERT :

INSERT INTO `authors` (`id`, `Name`, `Birthday`) VALUES ('1', 'Iain Menzies Banks', '1954-02-16')
UPDATE:

UPDATE `authors` SET `Name`='Iain Banks', `Birthday`='1954-02-17' WHERE `id`='1'
DELETE:

DELETE FROM `authors` WHERE `Birthday`<'1954-02-17'
PDO.
, JOIN . , SQL . , , , MySQL .
" !"
, , (MySQL, PHP HTML) , :

library.tpl . :
<div> <select> <option value=''>all authors</option> %author-list% </select> </div> <br /> <div>%book-list%</div>
: %author-list% %book-list%. option, . β , β "book block", HTML . , ( jquery library.tpl).
%author-list% Copy ("Author Copy"), "authors" "option", , "value" id. "Author Copy" :
<option value='1'>Iain Menzies Banks</option> <option value='2'>Charles Michael Palahniuk</option> <option value='3'>Mikhail Bulgakov</option>
"book block" :
<div class='author-%author-id%'> <img width='100' src='images/%image%' align='left' /> <b>%title%</b> by <b>%author%</b> <br /> ISBN: %isbn%<br /> <small>%description%</small> <br clear='all'/> </div>
"books" "authors". "authors" . , "books".
:
. . β , , . :
β , . . -. , . , . , . (include), , . , . MySQL.
β PHP . β , . . , , , ( ).
β , . , . , , .
. -. , β Mooha.net .
:
HTML5 Canvas Javascript ( ) JQuery 2.0 ( ) Codemirror ( ) CKEditor ( ) Spectrum Colorpicker ( ) jQuery File Tree Plugin ( )
:
Apache 2.2.22 PHP 5.4.3 MySQL 5.5.24
%title% "title" . %content% "content" . :
<div> <h1>first title</h1> <p>first content</p> </div> <div> <h1>second title</h1> <p>second content</p> </div>
Copy foreach , . for, , , ( ).
MySQL

β , β SELECT, - . , "*", :
SELECT * FROM `authors`
JSON. "" :
[ { "id": "1", "Name": "Iain Menzies Banks", "Birthday": "1954-02-16" }, { "id": "2", "Name": "Charles Michael Palahniuk", "Birthday": "1962-02-21" } ]
, :

:
["Iain Menzies Banks", "Charles Michael Palahniuk"]
SQL , . :

() :
SELECT * FROM `authors` WHERE id=1
:
[ { "id": "1", "Name": "Iain Menzies Banks", "Birthday": "1954-02-16" } ]
() :
SELECT * FROM `authors` WHERE Name LIKE '%Banks%'
:

SELECT * FROM `authors` WHERE (`Birthday` < '1990-01-01' AND `Birthday` > '1920-01-01') ORDER BY `Name` ASC
AND WHERE, ( , ORDER BY)
INSERT, UPDATE DELETE -, .
INSERT :

INSERT INTO `authors` (`id`, `Name`, `Birthday`) VALUES ('1', 'Iain Menzies Banks', '1954-02-16')
UPDATE:

UPDATE `authors` SET `Name`='Iain Banks', `Birthday`='1954-02-17' WHERE `id`='1'
DELETE:

DELETE FROM `authors` WHERE `Birthday`<'1954-02-17'
PDO.
, JOIN . , SQL . , , , MySQL .
" !"
, , (MySQL, PHP HTML) , :

library.tpl . :
<div> <select> <option value=''>all authors</option> %author-list% </select> </div> <br /> <div>%book-list%</div>
: %author-list% %book-list%. option, . β , β "book block", HTML . , ( jquery library.tpl).
%author-list% Copy ("Author Copy"), "authors" "option", , "value" id. "Author Copy" :
<option value='1'>Iain Menzies Banks</option> <option value='2'>Charles Michael Palahniuk</option> <option value='3'>Mikhail Bulgakov</option>
"book block" :
<div class='author-%author-id%'> <img width='100' src='images/%image%' align='left' /> <b>%title%</b> by <b>%author%</b> <br /> ISBN: %isbn%<br /> <small>%description%</small> <br clear='all'/> </div>
"books" "authors". "authors" . , "books".
:
. . β , , . :
β , . . -. , . , . , . (include), , . , . MySQL.
β PHP . β , . . , , , ( ).
β , . , . , , .
. -. , β Mooha.net .
:
HTML5 Canvas Javascript ( ) JQuery 2.0 ( ) Codemirror ( ) CKEditor ( ) Spectrum Colorpicker ( ) jQuery File Tree Plugin ( )
:
Apache 2.2.22 PHP 5.4.3 MySQL 5.5.24
%title% "title" . %content% "content" . :
<div> <h1>first title</h1> <p>first content</p> </div> <div> <h1>second title</h1> <p>second content</p> </div>
Copy foreach , . for, , , ( ).
MySQL

β , β SELECT, - . , "*", :
SELECT * FROM `authors`
JSON. "" :
[ { "id": "1", "Name": "Iain Menzies Banks", "Birthday": "1954-02-16" }, { "id": "2", "Name": "Charles Michael Palahniuk", "Birthday": "1962-02-21" } ]
, :

:
["Iain Menzies Banks", "Charles Michael Palahniuk"]
SQL , . :

() :
SELECT * FROM `authors` WHERE id=1
:
[ { "id": "1", "Name": "Iain Menzies Banks", "Birthday": "1954-02-16" } ]
() :
SELECT * FROM `authors` WHERE Name LIKE '%Banks%'
:

SELECT * FROM `authors` WHERE (`Birthday` < '1990-01-01' AND `Birthday` > '1920-01-01') ORDER BY `Name` ASC
AND WHERE, ( , ORDER BY)
INSERT, UPDATE DELETE -, .
INSERT :

INSERT INTO `authors` (`id`, `Name`, `Birthday`) VALUES ('1', 'Iain Menzies Banks', '1954-02-16')
UPDATE:

UPDATE `authors` SET `Name`='Iain Banks', `Birthday`='1954-02-17' WHERE `id`='1'
DELETE:

DELETE FROM `authors` WHERE `Birthday`<'1954-02-17'
PDO.
, JOIN . , SQL . , , , MySQL .
" !"
, , (MySQL, PHP HTML) , :

library.tpl . :
<div> <select> <option value=''>all authors</option> %author-list% </select> </div> <br /> <div>%book-list%</div>
: %author-list% %book-list%. option, . β , β "book block", HTML . , ( jquery library.tpl).
%author-list% Copy ("Author Copy"), "authors" "option", , "value" id. "Author Copy" :
<option value='1'>Iain Menzies Banks</option> <option value='2'>Charles Michael Palahniuk</option> <option value='3'>Mikhail Bulgakov</option>
"book block" :
<div class='author-%author-id%'> <img width='100' src='images/%image%' align='left' /> <b>%title%</b> by <b>%author%</b> <br /> ISBN: %isbn%<br /> <small>%description%</small> <br clear='all'/> </div>
"books" "authors". "authors" . , "books".
:
. . β , , . :
β , . . -. , . , . , . (include), , . , . MySQL.
β PHP . β , . . , , , ( ).
β , . , . , , .
. -. , β Mooha.net .
:
HTML5 Canvas Javascript ( ) JQuery 2.0 ( ) Codemirror ( ) CKEditor ( ) Spectrum Colorpicker ( ) jQuery File Tree Plugin ( )
:
Apache 2.2.22 PHP 5.4.3 MySQL 5.5.24
%title% "title" . %content% "content" . :
<div> <h1>first title</h1> <p>first content</p> </div> <div> <h1>second title</h1> <p>second content</p> </div>
Copy foreach , . for, , , ( ).
MySQL

β , β SELECT, - . , "*", :
SELECT * FROM `authors`
JSON. "" :
[ { "id": "1", "Name": "Iain Menzies Banks", "Birthday": "1954-02-16" }, { "id": "2", "Name": "Charles Michael Palahniuk", "Birthday": "1962-02-21" } ]
, :

:
["Iain Menzies Banks", "Charles Michael Palahniuk"]
SQL , . :

() :
SELECT * FROM `authors` WHERE id=1
:
[ { "id": "1", "Name": "Iain Menzies Banks", "Birthday": "1954-02-16" } ]
() :
SELECT * FROM `authors` WHERE Name LIKE '%Banks%'
:

SELECT * FROM `authors` WHERE (`Birthday` < '1990-01-01' AND `Birthday` > '1920-01-01') ORDER BY `Name` ASC
AND WHERE, ( , ORDER BY)
INSERT, UPDATE DELETE -, .
INSERT :

INSERT INTO `authors` (`id`, `Name`, `Birthday`) VALUES ('1', 'Iain Menzies Banks', '1954-02-16')
UPDATE:

UPDATE `authors` SET `Name`='Iain Banks', `Birthday`='1954-02-17' WHERE `id`='1'
DELETE:

DELETE FROM `authors` WHERE `Birthday`<'1954-02-17'
PDO.
, JOIN . , SQL . , , , MySQL .
" !"
, , (MySQL, PHP HTML) , :

library.tpl . :
<div> <select> <option value=''>all authors</option> %author-list% </select> </div> <br /> <div>%book-list%</div>
: %author-list% %book-list%. option, . β , β "book block", HTML . , ( jquery library.tpl).
%author-list% Copy ("Author Copy"), "authors" "option", , "value" id. "Author Copy" :
<option value='1'>Iain Menzies Banks</option> <option value='2'>Charles Michael Palahniuk</option> <option value='3'>Mikhail Bulgakov</option>
"book block" :
<div class='author-%author-id%'> <img width='100' src='images/%image%' align='left' /> <b>%title%</b> by <b>%author%</b> <br /> ISBN: %isbn%<br /> <small>%description%</small> <br clear='all'/> </div>
"books" "authors". "authors" . , "books".
:
. . β , , . :
β , . . -. , . , . , . (include), , . , . MySQL.
β PHP . β , . . , , , ( ).
β , . , . , , .
. -. , β Mooha.net .
:
HTML5 Canvas Javascript ( ) JQuery 2.0 ( ) Codemirror ( ) CKEditor ( ) Spectrum Colorpicker ( ) jQuery File Tree Plugin ( )
:
Apache 2.2.22 PHP 5.4.3 MySQL 5.5.24
%title% "title" . %content% "content" . :
<div> <h1>first title</h1> <p>first content</p> </div> <div> <h1>second title</h1> <p>second content</p> </div>
Copy foreach , . for, , , ( ).
MySQL

β , β SELECT, - . , "*", :
SELECT * FROM `authors`
JSON. "" :
[ { "id": "1", "Name": "Iain Menzies Banks", "Birthday": "1954-02-16" }, { "id": "2", "Name": "Charles Michael Palahniuk", "Birthday": "1962-02-21" } ]
, :

:
["Iain Menzies Banks", "Charles Michael Palahniuk"]
SQL , . :

() :
SELECT * FROM `authors` WHERE id=1
:
[ { "id": "1", "Name": "Iain Menzies Banks", "Birthday": "1954-02-16" } ]
() :
SELECT * FROM `authors` WHERE Name LIKE '%Banks%'
:

SELECT * FROM `authors` WHERE (`Birthday` < '1990-01-01' AND `Birthday` > '1920-01-01') ORDER BY `Name` ASC
AND WHERE, ( , ORDER BY)
INSERT, UPDATE DELETE -, .
INSERT :

INSERT INTO `authors` (`id`, `Name`, `Birthday`) VALUES ('1', 'Iain Menzies Banks', '1954-02-16')
UPDATE:

UPDATE `authors` SET `Name`='Iain Banks', `Birthday`='1954-02-17' WHERE `id`='1'
DELETE:

DELETE FROM `authors` WHERE `Birthday`<'1954-02-17'
PDO.
, JOIN . , SQL . , , , MySQL .
" !"
, , (MySQL, PHP HTML) , :

library.tpl . :
<div> <select> <option value=''>all authors</option> %author-list% </select> </div> <br /> <div>%book-list%</div>
: %author-list% %book-list%. option, . β , β "book block", HTML . , ( jquery library.tpl).
%author-list% Copy ("Author Copy"), "authors" "option", , "value" id. "Author Copy" :
<option value='1'>Iain Menzies Banks</option> <option value='2'>Charles Michael Palahniuk</option> <option value='3'>Mikhail Bulgakov</option>
"book block" :
<div class='author-%author-id%'> <img width='100' src='images/%image%' align='left' /> <b>%title%</b> by <b>%author%</b> <br /> ISBN: %isbn%<br /> <small>%description%</small> <br clear='all'/> </div>
"books" "authors". "authors" . , "books".
:
. . β , , . :
β , . . -. , . , . , . (include), , . , . MySQL.
β PHP . β , . . , , , ( ).
β , . , . , , .
. -. , β Mooha.net .
:
HTML5 Canvas Javascript ( ) JQuery 2.0 ( ) Codemirror ( ) CKEditor ( ) Spectrum Colorpicker ( ) jQuery File Tree Plugin ( )
:
Apache 2.2.22 PHP 5.4.3 MySQL 5.5.24
%title% "title" . %content% "content" . :
<div> <h1>first title</h1> <p>first content</p> </div> <div> <h1>second title</h1> <p>second content</p> </div>
Copy foreach , . for, , , ( ).
MySQL

β , β SELECT, - . , "*", :
SELECT * FROM `authors`
JSON. "" :
[ { "id": "1", "Name": "Iain Menzies Banks", "Birthday": "1954-02-16" }, { "id": "2", "Name": "Charles Michael Palahniuk", "Birthday": "1962-02-21" } ]
, :

:
["Iain Menzies Banks", "Charles Michael Palahniuk"]
SQL , . :

() :
SELECT * FROM `authors` WHERE id=1
:
[ { "id": "1", "Name": "Iain Menzies Banks", "Birthday": "1954-02-16" } ]
() :
SELECT * FROM `authors` WHERE Name LIKE '%Banks%'
:

SELECT * FROM `authors` WHERE (`Birthday` < '1990-01-01' AND `Birthday` > '1920-01-01') ORDER BY `Name` ASC
AND WHERE, ( , ORDER BY)
INSERT, UPDATE DELETE -, .
INSERT :

INSERT INTO `authors` (`id`, `Name`, `Birthday`) VALUES ('1', 'Iain Menzies Banks', '1954-02-16')
UPDATE:

UPDATE `authors` SET `Name`='Iain Banks', `Birthday`='1954-02-17' WHERE `id`='1'
DELETE:

DELETE FROM `authors` WHERE `Birthday`<'1954-02-17'
PDO.
, JOIN . , SQL . , , , MySQL .
" !"
, , (MySQL, PHP HTML) , :

library.tpl . :
<div> <select> <option value=''>all authors</option> %author-list% </select> </div> <br /> <div>%book-list%</div>
: %author-list% %book-list%. option, . β , β "book block", HTML . , ( jquery library.tpl).
%author-list% Copy ("Author Copy"), "authors" "option", , "value" id. "Author Copy" :
<option value='1'>Iain Menzies Banks</option> <option value='2'>Charles Michael Palahniuk</option> <option value='3'>Mikhail Bulgakov</option>
"book block" :
<div class='author-%author-id%'> <img width='100' src='images/%image%' align='left' /> <b>%title%</b> by <b>%author%</b> <br /> ISBN: %isbn%<br /> <small>%description%</small> <br clear='all'/> </div>
"books" "authors". "authors" . , "books".
:
. . β , , . :
β , . . -. , . , . , . (include), , . , . MySQL.
β PHP . β , . . , , , ( ).
β , . , . , , .
. -. , β Mooha.net .
:
HTML5 Canvas Javascript ( ) JQuery 2.0 ( ) Codemirror ( ) CKEditor ( ) Spectrum Colorpicker ( ) jQuery File Tree Plugin ( )
:
Apache 2.2.22 PHP 5.4.3 MySQL 5.5.24
%title% "title" . %content% "content" . :
<div> <h1>first title</h1> <p>first content</p> </div> <div> <h1>second title</h1> <p>second content</p> </div>
Copy foreach , . for, , , ( ).
MySQL

β , β SELECT, - . , "*", :
SELECT * FROM `authors`
JSON. "" :
[ { "id": "1", "Name": "Iain Menzies Banks", "Birthday": "1954-02-16" }, { "id": "2", "Name": "Charles Michael Palahniuk", "Birthday": "1962-02-21" } ]
, :

:
["Iain Menzies Banks", "Charles Michael Palahniuk"]
SQL , . :

() :
SELECT * FROM `authors` WHERE id=1
:
[ { "id": "1", "Name": "Iain Menzies Banks", "Birthday": "1954-02-16" } ]
() :
SELECT * FROM `authors` WHERE Name LIKE '%Banks%'
:

SELECT * FROM `authors` WHERE (`Birthday` < '1990-01-01' AND `Birthday` > '1920-01-01') ORDER BY `Name` ASC
AND WHERE, ( , ORDER BY)
INSERT, UPDATE DELETE -, .
INSERT :

INSERT INTO `authors` (`id`, `Name`, `Birthday`) VALUES ('1', 'Iain Menzies Banks', '1954-02-16')
UPDATE:

UPDATE `authors` SET `Name`='Iain Banks', `Birthday`='1954-02-17' WHERE `id`='1'
DELETE:

DELETE FROM `authors` WHERE `Birthday`<'1954-02-17'
PDO.
, JOIN . , SQL . , , , MySQL .
" !"
, , (MySQL, PHP HTML) , :

library.tpl . :
<div> <select> <option value=''>all authors</option> %author-list% </select> </div> <br /> <div>%book-list%</div>
: %author-list% %book-list%. option, . β , β "book block", HTML . , ( jquery library.tpl).
%author-list% Copy ("Author Copy"), "authors" "option", , "value" id. "Author Copy" :
<option value='1'>Iain Menzies Banks</option> <option value='2'>Charles Michael Palahniuk</option> <option value='3'>Mikhail Bulgakov</option>
"book block" :
<div class='author-%author-id%'> <img width='100' src='images/%image%' align='left' /> <b>%title%</b> by <b>%author%</b> <br /> ISBN: %isbn%<br /> <small>%description%</small> <br clear='all'/> </div>
"books" "authors". "authors" . , "books".
:
. . β , , . :
β , . . -. , . , . , . (include), , . , . MySQL.
β PHP . β , . . , , , ( ).
β , . , . , , .
. -. , β Mooha.net .
:
HTML5 Canvas Javascript ( ) JQuery 2.0 ( ) Codemirror ( ) CKEditor ( ) Spectrum Colorpicker ( ) jQuery File Tree Plugin ( )
:
Apache 2.2.22 PHP 5.4.3 MySQL 5.5.24
%title% "title" . %content% "content" . :
<div> <h1>first title</h1> <p>first content</p> </div> <div> <h1>second title</h1> <p>second content</p> </div>
Copy foreach , . for, , , ( ).
MySQL

β , β SELECT, - . , "*", :
SELECT * FROM `authors`
JSON. "" :
[ { "id": "1", "Name": "Iain Menzies Banks", "Birthday": "1954-02-16" }, { "id": "2", "Name": "Charles Michael Palahniuk", "Birthday": "1962-02-21" } ]
, :

:
["Iain Menzies Banks", "Charles Michael Palahniuk"]
SQL , . :

() :
SELECT * FROM `authors` WHERE id=1
:
[ { "id": "1", "Name": "Iain Menzies Banks", "Birthday": "1954-02-16" } ]
() :
SELECT * FROM `authors` WHERE Name LIKE '%Banks%'
:

SELECT * FROM `authors` WHERE (`Birthday` < '1990-01-01' AND `Birthday` > '1920-01-01') ORDER BY `Name` ASC
AND WHERE, ( , ORDER BY)
INSERT, UPDATE DELETE -, .
INSERT :

INSERT INTO `authors` (`id`, `Name`, `Birthday`) VALUES ('1', 'Iain Menzies Banks', '1954-02-16')
UPDATE:

UPDATE `authors` SET `Name`='Iain Banks', `Birthday`='1954-02-17' WHERE `id`='1'
DELETE:

DELETE FROM `authors` WHERE `Birthday`<'1954-02-17'
PDO.
, JOIN . , SQL . , , , MySQL .
" !"
, , (MySQL, PHP HTML) , :

library.tpl . :
<div> <select> <option value=''>all authors</option> %author-list% </select> </div> <br /> <div>%book-list%</div>
: %author-list% %book-list%. option, . β , β "book block", HTML . , ( jquery library.tpl).
%author-list% Copy ("Author Copy"), "authors" "option", , "value" id. "Author Copy" :
<option value='1'>Iain Menzies Banks</option> <option value='2'>Charles Michael Palahniuk</option> <option value='3'>Mikhail Bulgakov</option>
"book block" :
<div class='author-%author-id%'> <img width='100' src='images/%image%' align='left' /> <b>%title%</b> by <b>%author%</b> <br /> ISBN: %isbn%<br /> <small>%description%</small> <br clear='all'/> </div>
"books" "authors". "authors" . , "books".
:
. . β , , . :
β , . . -. , . , . , . (include), , . , . MySQL.
β PHP . β , . . , , , ( ).
β , . , . , , .
. -. , β Mooha.net .
:
HTML5 Canvas Javascript ( ) JQuery 2.0 ( ) Codemirror ( ) CKEditor ( ) Spectrum Colorpicker ( ) jQuery File Tree Plugin ( )
:
Apache 2.2.22 PHP 5.4.3 MySQL 5.5.24
%title% "title" . %content% "content" . :
<div> <h1>first title</h1> <p>first content</p> </div> <div> <h1>second title</h1> <p>second content</p> </div>
Copy foreach , . for, , , ( ).
MySQL

β , β SELECT, - . , "*", :
SELECT * FROM `authors`
JSON. "" :
[ { "id": "1", "Name": "Iain Menzies Banks", "Birthday": "1954-02-16" }, { "id": "2", "Name": "Charles Michael Palahniuk", "Birthday": "1962-02-21" } ]
, :

:
["Iain Menzies Banks", "Charles Michael Palahniuk"]
SQL , . :

() :
SELECT * FROM `authors` WHERE id=1
:
[ { "id": "1", "Name": "Iain Menzies Banks", "Birthday": "1954-02-16" } ]
() :
SELECT * FROM `authors` WHERE Name LIKE '%Banks%'
:

SELECT * FROM `authors` WHERE (`Birthday` < '1990-01-01' AND `Birthday` > '1920-01-01') ORDER BY `Name` ASC
AND WHERE, ( , ORDER BY)
INSERT, UPDATE DELETE -, .
INSERT :

INSERT INTO `authors` (`id`, `Name`, `Birthday`) VALUES ('1', 'Iain Menzies Banks', '1954-02-16')
UPDATE:

UPDATE `authors` SET `Name`='Iain Banks', `Birthday`='1954-02-17' WHERE `id`='1'
DELETE:

DELETE FROM `authors` WHERE `Birthday`<'1954-02-17'
PDO.
, JOIN . , SQL . , , , MySQL .
" !"
, , (MySQL, PHP HTML) , :

library.tpl . :
<div> <select> <option value=''>all authors</option> %author-list% </select> </div> <br /> <div>%book-list%</div>
: %author-list% %book-list%. option, . β , β "book block", HTML . , ( jquery library.tpl).
%author-list% Copy ("Author Copy"), "authors" "option", , "value" id. "Author Copy" :
<option value='1'>Iain Menzies Banks</option> <option value='2'>Charles Michael Palahniuk</option> <option value='3'>Mikhail Bulgakov</option>
"book block" :
<div class='author-%author-id%'> <img width='100' src='images/%image%' align='left' /> <b>%title%</b> by <b>%author%</b> <br /> ISBN: %isbn%<br /> <small>%description%</small> <br clear='all'/> </div>
"books" "authors". "authors" . , "books".
:
. . β , , . :
β , . . -. , . , . , . (include), , . , . MySQL.
β PHP . β , . . , , , ( ).
β , . , . , , .
. -. , β Mooha.net .
:
HTML5 Canvas Javascript ( ) JQuery 2.0 ( ) Codemirror ( ) CKEditor ( ) Spectrum Colorpicker ( ) jQuery File Tree Plugin ( )
:
Apache 2.2.22 PHP 5.4.3 MySQL 5.5.24
%title% "title" . %content% "content" . :
<div> <h1>first title</h1> <p>first content</p> </div> <div> <h1>second title</h1> <p>second content</p> </div>
Copy foreach , . for, , , ( ).
MySQL

β , β SELECT, - . , "*", :
SELECT * FROM `authors`
JSON. "" :
[ { "id": "1", "Name": "Iain Menzies Banks", "Birthday": "1954-02-16" }, { "id": "2", "Name": "Charles Michael Palahniuk", "Birthday": "1962-02-21" } ]
, :

:
["Iain Menzies Banks", "Charles Michael Palahniuk"]
SQL , . :

() :
SELECT * FROM `authors` WHERE id=1
:
[ { "id": "1", "Name": "Iain Menzies Banks", "Birthday": "1954-02-16" } ]
() :
SELECT * FROM `authors` WHERE Name LIKE '%Banks%'
:

SELECT * FROM `authors` WHERE (`Birthday` < '1990-01-01' AND `Birthday` > '1920-01-01') ORDER BY `Name` ASC
AND WHERE, ( , ORDER BY)
INSERT, UPDATE DELETE -, .
INSERT :

INSERT INTO `authors` (`id`, `Name`, `Birthday`) VALUES ('1', 'Iain Menzies Banks', '1954-02-16')
UPDATE:

UPDATE `authors` SET `Name`='Iain Banks', `Birthday`='1954-02-17' WHERE `id`='1'
DELETE:

DELETE FROM `authors` WHERE `Birthday`<'1954-02-17'
PDO.
, JOIN . , SQL . , , , MySQL .
" !"
, , (MySQL, PHP HTML) , :

library.tpl . :
<div> <select> <option value=''>all authors</option> %author-list% </select> </div> <br /> <div>%book-list%</div>
: %author-list% %book-list%. option, . β , β "book block", HTML . , ( jquery library.tpl).
%author-list% Copy ("Author Copy"), "authors" "option", , "value" id. "Author Copy" :
<option value='1'>Iain Menzies Banks</option> <option value='2'>Charles Michael Palahniuk</option> <option value='3'>Mikhail Bulgakov</option>
"book block" :
<div class='author-%author-id%'> <img width='100' src='images/%image%' align='left' /> <b>%title%</b> by <b>%author%</b> <br /> ISBN: %isbn%<br /> <small>%description%</small> <br clear='all'/> </div>
"books" "authors". "authors" . , "books".
:
. . β , , . :
β , . . -. , . , . , . (include), , . , . MySQL.
β PHP . β , . . , , , ( ).
β , . , . , , .
. -. , β Mooha.net .
:
HTML5 Canvas Javascript ( ) JQuery 2.0 ( ) Codemirror ( ) CKEditor ( ) Spectrum Colorpicker ( ) jQuery File Tree Plugin ( )
:
Apache 2.2.22 PHP 5.4.3 MySQL 5.5.24
%title% "title" . %content% "content" . :
<div> <h1>first title</h1> <p>first content</p> </div> <div> <h1>second title</h1> <p>second content</p> </div>
Copy foreach , . for, , , ( ).
MySQL

β , β SELECT, - . , "*", :
SELECT * FROM `authors`
JSON. "" :
[ { "id": "1", "Name": "Iain Menzies Banks", "Birthday": "1954-02-16" }, { "id": "2", "Name": "Charles Michael Palahniuk", "Birthday": "1962-02-21" } ]
, :

:
["Iain Menzies Banks", "Charles Michael Palahniuk"]
SQL , . :

() :
SELECT * FROM `authors` WHERE id=1
:
[ { "id": "1", "Name": "Iain Menzies Banks", "Birthday": "1954-02-16" } ]
() :
SELECT * FROM `authors` WHERE Name LIKE '%Banks%'
:

SELECT * FROM `authors` WHERE (`Birthday` < '1990-01-01' AND `Birthday` > '1920-01-01') ORDER BY `Name` ASC
AND WHERE, ( , ORDER BY)
INSERT, UPDATE DELETE -, .
INSERT :

INSERT INTO `authors` (`id`, `Name`, `Birthday`) VALUES ('1', 'Iain Menzies Banks', '1954-02-16')
UPDATE:

UPDATE `authors` SET `Name`='Iain Banks', `Birthday`='1954-02-17' WHERE `id`='1'
DELETE:

DELETE FROM `authors` WHERE `Birthday`<'1954-02-17'
PDO.
, JOIN . , SQL . , , , MySQL .
" !"
, , (MySQL, PHP HTML) , :

library.tpl . :
<div> <select> <option value=''>all authors</option> %author-list% </select> </div> <br /> <div>%book-list%</div>
: %author-list% %book-list%. option, . β , β "book block", HTML . , ( jquery library.tpl).
%author-list% Copy ("Author Copy"), "authors" "option", , "value" id. "Author Copy" :
<option value='1'>Iain Menzies Banks</option> <option value='2'>Charles Michael Palahniuk</option> <option value='3'>Mikhail Bulgakov</option>
"book block" :
<div class='author-%author-id%'> <img width='100' src='images/%image%' align='left' /> <b>%title%</b> by <b>%author%</b> <br /> ISBN: %isbn%<br /> <small>%description%</small> <br clear='all'/> </div>
"books" "authors". "authors" . , "books".
:
. . β , , . :
β , . . -. , . , . , . (include), , . , . MySQL.
β PHP . β , . . , , , ( ).
β , . , . , , .
. -. , β Mooha.net .
:
HTML5 Canvas Javascript ( ) JQuery 2.0 ( ) Codemirror ( ) CKEditor ( ) Spectrum Colorpicker ( ) jQuery File Tree Plugin ( )
:
Apache 2.2.22 PHP 5.4.3 MySQL 5.5.24
%title% "title" . %content% "content" . :
<div> <h1>first title</h1> <p>first content</p> </div> <div> <h1>second title</h1> <p>second content</p> </div>
Copy foreach , . for, , , ( ).
MySQL

β , β SELECT, - . , "*", :
SELECT * FROM `authors`
JSON. "" :
[ { "id": "1", "Name": "Iain Menzies Banks", "Birthday": "1954-02-16" }, { "id": "2", "Name": "Charles Michael Palahniuk", "Birthday": "1962-02-21" } ]
, :

:
["Iain Menzies Banks", "Charles Michael Palahniuk"]
SQL , . :

() :
SELECT * FROM `authors` WHERE id=1
:
[ { "id": "1", "Name": "Iain Menzies Banks", "Birthday": "1954-02-16" } ]
() :
SELECT * FROM `authors` WHERE Name LIKE '%Banks%'
:

SELECT * FROM `authors` WHERE (`Birthday` < '1990-01-01' AND `Birthday` > '1920-01-01') ORDER BY `Name` ASC
AND WHERE, ( , ORDER BY)
INSERT, UPDATE DELETE -, .
INSERT :

INSERT INTO `authors` (`id`, `Name`, `Birthday`) VALUES ('1', 'Iain Menzies Banks', '1954-02-16')
UPDATE:

UPDATE `authors` SET `Name`='Iain Banks', `Birthday`='1954-02-17' WHERE `id`='1'
DELETE:

DELETE FROM `authors` WHERE `Birthday`<'1954-02-17'
PDO.
, JOIN . , SQL . , , , MySQL .
" !"
, , (MySQL, PHP HTML) , :

library.tpl . :
<div> <select> <option value=''>all authors</option> %author-list% </select> </div> <br /> <div>%book-list%</div>
: %author-list% %book-list%. option, . β , β "book block", HTML . , ( jquery library.tpl).
%author-list% Copy ("Author Copy"), "authors" "option", , "value" id. "Author Copy" :
<option value='1'>Iain Menzies Banks</option> <option value='2'>Charles Michael Palahniuk</option> <option value='3'>Mikhail Bulgakov</option>
"book block" :
<div class='author-%author-id%'> <img width='100' src='images/%image%' align='left' /> <b>%title%</b> by <b>%author%</b> <br /> ISBN: %isbn%<br /> <small>%description%</small> <br clear='all'/> </div>
"books" "authors". "authors" . , "books".
:
. . β , , . :
β , . . -. , . , . , . (include), , . , . MySQL.
β PHP . β , . . , , , ( ).
β , . , . , , .
. -. , β Mooha.net .
:
HTML5 Canvas Javascript ( ) JQuery 2.0 ( ) Codemirror ( ) CKEditor ( ) Spectrum Colorpicker ( ) jQuery File Tree Plugin ( )
:
Apache 2.2.22 PHP 5.4.3 MySQL 5.5.24
%title% "title" . %content% "content" . :
<div> <h1>first title</h1> <p>first content</p> </div> <div> <h1>second title</h1> <p>second content</p> </div>
Copy foreach , . for, , , ( ).
MySQL

β , β SELECT, - . , "*", :
SELECT * FROM `authors`
JSON. "" :
[ { "id": "1", "Name": "Iain Menzies Banks", "Birthday": "1954-02-16" }, { "id": "2", "Name": "Charles Michael Palahniuk", "Birthday": "1962-02-21" } ]
, :

:
["Iain Menzies Banks", "Charles Michael Palahniuk"]
SQL , . :

() :
SELECT * FROM `authors` WHERE id=1
:
[ { "id": "1", "Name": "Iain Menzies Banks", "Birthday": "1954-02-16" } ]
() :
SELECT * FROM `authors` WHERE Name LIKE '%Banks%'
:

SELECT * FROM `authors` WHERE (`Birthday` < '1990-01-01' AND `Birthday` > '1920-01-01') ORDER BY `Name` ASC
AND WHERE, ( , ORDER BY)
INSERT, UPDATE DELETE -, .
INSERT :

INSERT INTO `authors` (`id`, `Name`, `Birthday`) VALUES ('1', 'Iain Menzies Banks', '1954-02-16')
UPDATE:

UPDATE `authors` SET `Name`='Iain Banks', `Birthday`='1954-02-17' WHERE `id`='1'
DELETE:

DELETE FROM `authors` WHERE `Birthday`<'1954-02-17'
PDO.
, JOIN . , SQL . , , , MySQL .
" !"
, , (MySQL, PHP HTML) , :

library.tpl . :
<div> <select> <option value=''>all authors</option> %author-list% </select> </div> <br /> <div>%book-list%</div>
: %author-list% %book-list%. option, . β , β "book block", HTML . , ( jquery library.tpl).
%author-list% Copy ("Author Copy"), "authors" "option", , "value" id. "Author Copy" :
<option value='1'>Iain Menzies Banks</option> <option value='2'>Charles Michael Palahniuk</option> <option value='3'>Mikhail Bulgakov</option>
"book block" :
<div class='author-%author-id%'> <img width='100' src='images/%image%' align='left' /> <b>%title%</b> by <b>%author%</b> <br /> ISBN: %isbn%<br /> <small>%description%</small> <br clear='all'/> </div>
"books" "authors". "authors" . , "books".
:
. . β , , . :
β , . . -. , . , . , . (include), , . , . MySQL.
β PHP . β , . . , , , ( ).
β , . , . , , .
. -. , β Mooha.net .
:
HTML5 Canvas Javascript ( ) JQuery 2.0 ( ) Codemirror ( ) CKEditor ( ) Spectrum Colorpicker ( ) jQuery File Tree Plugin ( )
:
Apache 2.2.22 PHP 5.4.3 MySQL 5.5.24
%title% "title" . %content% "content" . :
<div> <h1>first title</h1> <p>first content</p> </div> <div> <h1>second title</h1> <p>second content</p> </div>
Copy foreach , . for, , , ( ).
MySQL

β , β SELECT, - . , "*", :
SELECT * FROM `authors`
JSON. "" :
[ { "id": "1", "Name": "Iain Menzies Banks", "Birthday": "1954-02-16" }, { "id": "2", "Name": "Charles Michael Palahniuk", "Birthday": "1962-02-21" } ]
, :

:
["Iain Menzies Banks", "Charles Michael Palahniuk"]
SQL , . :

() :
SELECT * FROM `authors` WHERE id=1
:
[ { "id": "1", "Name": "Iain Menzies Banks", "Birthday": "1954-02-16" } ]
() :
SELECT * FROM `authors` WHERE Name LIKE '%Banks%'
:

SELECT * FROM `authors` WHERE (`Birthday` < '1990-01-01' AND `Birthday` > '1920-01-01') ORDER BY `Name` ASC
AND WHERE, ( , ORDER BY)
INSERT, UPDATE DELETE -, .
INSERT :

INSERT INTO `authors` (`id`, `Name`, `Birthday`) VALUES ('1', 'Iain Menzies Banks', '1954-02-16')
UPDATE:

UPDATE `authors` SET `Name`='Iain Banks', `Birthday`='1954-02-17' WHERE `id`='1'
DELETE:

DELETE FROM `authors` WHERE `Birthday`<'1954-02-17'
PDO.
, JOIN . , SQL . , , , MySQL .
" !"
, , (MySQL, PHP HTML) , :

library.tpl . :
<div> <select> <option value=''>all authors</option> %author-list% </select> </div> <br /> <div>%book-list%</div>
: %author-list% %book-list%. option, . β , β "book block", HTML . , ( jquery library.tpl).
%author-list% Copy ("Author Copy"), "authors" "option", , "value" id. "Author Copy" :
<option value='1'>Iain Menzies Banks</option> <option value='2'>Charles Michael Palahniuk</option> <option value='3'>Mikhail Bulgakov</option>
"book block" :
<div class='author-%author-id%'> <img width='100' src='images/%image%' align='left' /> <b>%title%</b> by <b>%author%</b> <br /> ISBN: %isbn%<br /> <small>%description%</small> <br clear='all'/> </div>
"books" "authors". "authors" . , "books".
:
. . β , , . :
β , . . -. , . , . , . (include), , . , . MySQL.
β PHP . β , . . , , , ( ).
β , . , . , , .
. -. , β Mooha.net .
:
HTML5 Canvas Javascript ( ) JQuery 2.0 ( ) Codemirror ( ) CKEditor ( ) Spectrum Colorpicker ( ) jQuery File Tree Plugin ( )
:
Apache 2.2.22 PHP 5.4.3 MySQL 5.5.24
%title% "title" . %content% "content" . :
<div> <h1>first title</h1> <p>first content</p> </div> <div> <h1>second title</h1> <p>second content</p> </div>
Copy foreach , . for, , , ( ).
MySQL

β , β SELECT, - . , "*", :
SELECT * FROM `authors`
JSON. "" :
[ { "id": "1", "Name": "Iain Menzies Banks", "Birthday": "1954-02-16" }, { "id": "2", "Name": "Charles Michael Palahniuk", "Birthday": "1962-02-21" } ]
, :

:
["Iain Menzies Banks", "Charles Michael Palahniuk"]
SQL , . :

() :
SELECT * FROM `authors` WHERE id=1
:
[ { "id": "1", "Name": "Iain Menzies Banks", "Birthday": "1954-02-16" } ]
() :
SELECT * FROM `authors` WHERE Name LIKE '%Banks%'
:

SELECT * FROM `authors` WHERE (`Birthday` < '1990-01-01' AND `Birthday` > '1920-01-01') ORDER BY `Name` ASC
AND WHERE, ( , ORDER BY)
INSERT, UPDATE DELETE -, .
INSERT :

INSERT INTO `authors` (`id`, `Name`, `Birthday`) VALUES ('1', 'Iain Menzies Banks', '1954-02-16')
UPDATE:

UPDATE `authors` SET `Name`='Iain Banks', `Birthday`='1954-02-17' WHERE `id`='1'
DELETE:

DELETE FROM `authors` WHERE `Birthday`<'1954-02-17'
PDO.
, JOIN . , SQL . , , , MySQL .
" !"
, , (MySQL, PHP HTML) , :

library.tpl . :
<div> <select> <option value=''>all authors</option> %author-list% </select> </div> <br /> <div>%book-list%</div>
: %author-list% %book-list%. option, . β , β "book block", HTML . , ( jquery library.tpl).
%author-list% Copy ("Author Copy"), "authors" "option", , "value" id. "Author Copy" :
<option value='1'>Iain Menzies Banks</option> <option value='2'>Charles Michael Palahniuk</option> <option value='3'>Mikhail Bulgakov</option>
"book block" :
<div class='author-%author-id%'> <img width='100' src='images/%image%' align='left' /> <b>%title%</b> by <b>%author%</b> <br /> ISBN: %isbn%<br /> <small>%description%</small> <br clear='all'/> </div>
"books" "authors". "authors" . , "books".
:
. . β , , . :
β , . . -. , . , . , . (include), , . , . MySQL.
β PHP . β , . . , , , ( ).
β , . , . , , .
. -. , β Mooha.net .
:
HTML5 Canvas Javascript ( ) JQuery 2.0 ( ) Codemirror ( ) CKEditor ( ) Spectrum Colorpicker ( ) jQuery File Tree Plugin ( )
:
Apache 2.2.22 PHP 5.4.3 MySQL 5.5.24
%title% "title" . %content% "content" . :
<div> <h1>first title</h1> <p>first content</p> </div> <div> <h1>second title</h1> <p>second content</p> </div>
Copy foreach , . for, , , ( ).
MySQL

β , β SELECT, - . , "*", :
SELECT * FROM `authors`
JSON. "" :
[ { "id": "1", "Name": "Iain Menzies Banks", "Birthday": "1954-02-16" }, { "id": "2", "Name": "Charles Michael Palahniuk", "Birthday": "1962-02-21" } ]
, :

:
["Iain Menzies Banks", "Charles Michael Palahniuk"]
SQL , . :

() :
SELECT * FROM `authors` WHERE id=1
:
[ { "id": "1", "Name": "Iain Menzies Banks", "Birthday": "1954-02-16" } ]
() :
SELECT * FROM `authors` WHERE Name LIKE '%Banks%'
:

SELECT * FROM `authors` WHERE (`Birthday` < '1990-01-01' AND `Birthday` > '1920-01-01') ORDER BY `Name` ASC
AND WHERE, ( , ORDER BY)
INSERT, UPDATE DELETE -, .
INSERT :

INSERT INTO `authors` (`id`, `Name`, `Birthday`) VALUES ('1', 'Iain Menzies Banks', '1954-02-16')
UPDATE:

UPDATE `authors` SET `Name`='Iain Banks', `Birthday`='1954-02-17' WHERE `id`='1'
DELETE:

DELETE FROM `authors` WHERE `Birthday`<'1954-02-17'
PDO.
, JOIN . , SQL . , , , MySQL .
" !"
, , (MySQL, PHP HTML) , :

library.tpl . :
<div> <select> <option value=''>all authors</option> %author-list% </select> </div> <br /> <div>%book-list%</div>
: %author-list% %book-list%. option, . β , β "book block", HTML . , ( jquery library.tpl).
%author-list% Copy ("Author Copy"), "authors" "option", , "value" id. "Author Copy" :
<option value='1'>Iain Menzies Banks</option> <option value='2'>Charles Michael Palahniuk</option> <option value='3'>Mikhail Bulgakov</option>
"book block" :
<div class='author-%author-id%'> <img width='100' src='images/%image%' align='left' /> <b>%title%</b> by <b>%author%</b> <br /> ISBN: %isbn%<br /> <small>%description%</small> <br clear='all'/> </div>
"books" "authors". "authors" . , "books".
:
. . β , , . :
β , . . -. , . , . , . (include), , . , . MySQL.
β PHP . β , . . , , , ( ).
β , . , . , , .
. -. , β Mooha.net .
:
HTML5 Canvas Javascript ( ) JQuery 2.0 ( ) Codemirror ( ) CKEditor ( ) Spectrum Colorpicker ( ) jQuery File Tree Plugin ( )
:
Apache 2.2.22 PHP 5.4.3 MySQL 5.5.24
%title% "title" . %content% "content" . :
<div> <h1>first title</h1> <p>first content</p> </div> <div> <h1>second title</h1> <p>second content</p> </div>
Copy foreach , . for, , , ( ).
MySQL

β , β SELECT, - . , "*", :
SELECT * FROM `authors`
JSON. "" :
[ { "id": "1", "Name": "Iain Menzies Banks", "Birthday": "1954-02-16" }, { "id": "2", "Name": "Charles Michael Palahniuk", "Birthday": "1962-02-21" } ]
, :

:
["Iain Menzies Banks", "Charles Michael Palahniuk"]
SQL , . :

() :
SELECT * FROM `authors` WHERE id=1
:
[ { "id": "1", "Name": "Iain Menzies Banks", "Birthday": "1954-02-16" } ]
() :
SELECT * FROM `authors` WHERE Name LIKE '%Banks%'
:

SELECT * FROM `authors` WHERE (`Birthday` < '1990-01-01' AND `Birthday` > '1920-01-01') ORDER BY `Name` ASC
AND WHERE, ( , ORDER BY)
INSERT, UPDATE DELETE -, .
INSERT :

INSERT INTO `authors` (`id`, `Name`, `Birthday`) VALUES ('1', 'Iain Menzies Banks', '1954-02-16')
UPDATE:

UPDATE `authors` SET `Name`='Iain Banks', `Birthday`='1954-02-17' WHERE `id`='1'
DELETE:

DELETE FROM `authors` WHERE `Birthday`<'1954-02-17'
PDO.
, JOIN . , SQL . , , , MySQL .
" !"
, , (MySQL, PHP HTML) , :

library.tpl . :
<div> <select> <option value=''>all authors</option> %author-list% </select> </div> <br /> <div>%book-list%</div>
: %author-list% %book-list%. option, . β , β "book block", HTML . , ( jquery library.tpl).
%author-list% Copy ("Author Copy"), "authors" "option", , "value" id. "Author Copy" :
<option value='1'>Iain Menzies Banks</option> <option value='2'>Charles Michael Palahniuk</option> <option value='3'>Mikhail Bulgakov</option>
"book block" :
<div class='author-%author-id%'> <img width='100' src='images/%image%' align='left' /> <b>%title%</b> by <b>%author%</b> <br /> ISBN: %isbn%<br /> <small>%description%</small> <br clear='all'/> </div>
"books" "authors". "authors" . , "books".
:
. . β , , . :
β , . . -. , . , . , . (include), , . , . MySQL.
β PHP . β , . . , , , ( ).
β , . , . , , .
. -. , β Mooha.net .
:
HTML5 Canvas Javascript ( ) JQuery 2.0 ( ) Codemirror ( ) CKEditor ( ) Spectrum Colorpicker ( ) jQuery File Tree Plugin ( )
:
Apache 2.2.22 PHP 5.4.3 MySQL 5.5.24
%title% "title" . %content% "content" . :
<div> <h1>first title</h1> <p>first content</p> </div> <div> <h1>second title</h1> <p>second content</p> </div>
Copy foreach , . for, , , ( ).
MySQL

β , β SELECT, - . , "*", :
SELECT * FROM `authors`
JSON. "" :
[ { "id": "1", "Name": "Iain Menzies Banks", "Birthday": "1954-02-16" }, { "id": "2", "Name": "Charles Michael Palahniuk", "Birthday": "1962-02-21" } ]
, :

:
["Iain Menzies Banks", "Charles Michael Palahniuk"]
SQL , . :

() :
SELECT * FROM `authors` WHERE id=1
:
[ { "id": "1", "Name": "Iain Menzies Banks", "Birthday": "1954-02-16" } ]
() :
SELECT * FROM `authors` WHERE Name LIKE '%Banks%'
:

SELECT * FROM `authors` WHERE (`Birthday` < '1990-01-01' AND `Birthday` > '1920-01-01') ORDER BY `Name` ASC
AND WHERE, ( , ORDER BY)
INSERT, UPDATE DELETE -, .
INSERT :

INSERT INTO `authors` (`id`, `Name`, `Birthday`) VALUES ('1', 'Iain Menzies Banks', '1954-02-16')
UPDATE:

UPDATE `authors` SET `Name`='Iain Banks', `Birthday`='1954-02-17' WHERE `id`='1'
DELETE:

DELETE FROM `authors` WHERE `Birthday`<'1954-02-17'
PDO.
, JOIN . , SQL . , , , MySQL .
" !"
, , (MySQL, PHP HTML) , :

library.tpl . :
<div> <select> <option value=''>all authors</option> %author-list% </select> </div> <br /> <div>%book-list%</div>
: %author-list% %book-list%. option, . β , β "book block", HTML . , ( jquery library.tpl).
%author-list% Copy ("Author Copy"), "authors" "option", , "value" id. "Author Copy" :
<option value='1'>Iain Menzies Banks</option> <option value='2'>Charles Michael Palahniuk</option> <option value='3'>Mikhail Bulgakov</option>
"book block" :
<div class='author-%author-id%'> <img width='100' src='images/%image%' align='left' /> <b>%title%</b> by <b>%author%</b> <br /> ISBN: %isbn%<br /> <small>%description%</small> <br clear='all'/> </div>
"books" "authors". "authors" . , "books".
:
. . β , , . :
β , . . -. , . , . , . (include), , . , . MySQL.
β PHP . β , . . , , , ( ).
β , . , . , , .
. -. , β Mooha.net .
:
HTML5 Canvas Javascript ( ) JQuery 2.0 ( ) Codemirror ( ) CKEditor ( ) Spectrum Colorpicker ( ) jQuery File Tree Plugin ( )
:
Apache 2.2.22 PHP 5.4.3 MySQL 5.5.24
%title% "title" . %content% "content" . :
<div> <h1>first title</h1> <p>first content</p> </div> <div> <h1>second title</h1> <p>second content</p> </div>
Copy foreach , . for, , , ( ).
MySQL

β , β SELECT, - . , "*", :
SELECT * FROM `authors`
JSON. "" :
[ { "id": "1", "Name": "Iain Menzies Banks", "Birthday": "1954-02-16" }, { "id": "2", "Name": "Charles Michael Palahniuk", "Birthday": "1962-02-21" } ]
, :

:
["Iain Menzies Banks", "Charles Michael Palahniuk"]
SQL , . :

() :
SELECT * FROM `authors` WHERE id=1
:
[ { "id": "1", "Name": "Iain Menzies Banks", "Birthday": "1954-02-16" } ]
() :
SELECT * FROM `authors` WHERE Name LIKE '%Banks%'
:

SELECT * FROM `authors` WHERE (`Birthday` < '1990-01-01' AND `Birthday` > '1920-01-01') ORDER BY `Name` ASC
AND WHERE, ( , ORDER BY)
INSERT, UPDATE DELETE -, .
INSERT :

INSERT INTO `authors` (`id`, `Name`, `Birthday`) VALUES ('1', 'Iain Menzies Banks', '1954-02-16')
UPDATE:

UPDATE `authors` SET `Name`='Iain Banks', `Birthday`='1954-02-17' WHERE `id`='1'
DELETE:

DELETE FROM `authors` WHERE `Birthday`<'1954-02-17'
PDO.
, JOIN . , SQL . , , , MySQL .
" !"
, , (MySQL, PHP HTML) , :

library.tpl . :
<div> <select> <option value=''>all authors</option> %author-list% </select> </div> <br /> <div>%book-list%</div>
: %author-list% %book-list%. option, . β , β "book block", HTML . , ( jquery library.tpl).
%author-list% Copy ("Author Copy"), "authors" "option", , "value" id. "Author Copy" :
<option value='1'>Iain Menzies Banks</option> <option value='2'>Charles Michael Palahniuk</option> <option value='3'>Mikhail Bulgakov</option>
"book block" :
<div class='author-%author-id%'> <img width='100' src='images/%image%' align='left' /> <b>%title%</b> by <b>%author%</b> <br /> ISBN: %isbn%<br /> <small>%description%</small> <br clear='all'/> </div>
"books" "authors". "authors" . , "books".
:
. . β , , . :
β , . . -. , . , . , . (include), , . , . MySQL.
β PHP . β , . . , , , ( ).
β , . , . , , .
. -. , β Mooha.net .
:
HTML5 Canvas Javascript ( ) JQuery 2.0 ( ) Codemirror ( ) CKEditor ( ) Spectrum Colorpicker ( ) jQuery File Tree Plugin ( )
:
Apache 2.2.22 PHP 5.4.3 MySQL 5.5.24
%title% "title" . %content% "content" . :
<div> <h1>first title</h1> <p>first content</p> </div> <div> <h1>second title</h1> <p>second content</p> </div>
Copy foreach , . for, , , ( ).
MySQL

β , β SELECT, - . , "*", :
SELECT * FROM `authors`
JSON. "" :
[ { "id": "1", "Name": "Iain Menzies Banks", "Birthday": "1954-02-16" }, { "id": "2", "Name": "Charles Michael Palahniuk", "Birthday": "1962-02-21" } ]
, :

:
["Iain Menzies Banks", "Charles Michael Palahniuk"]
SQL , . :

() :
SELECT * FROM `authors` WHERE id=1
:
[ { "id": "1", "Name": "Iain Menzies Banks", "Birthday": "1954-02-16" } ]
() :
SELECT * FROM `authors` WHERE Name LIKE '%Banks%'
:

SELECT * FROM `authors` WHERE (`Birthday` < '1990-01-01' AND `Birthday` > '1920-01-01') ORDER BY `Name` ASC
AND WHERE, ( , ORDER BY)
INSERT, UPDATE DELETE -, .
INSERT :

INSERT INTO `authors` (`id`, `Name`, `Birthday`) VALUES ('1', 'Iain Menzies Banks', '1954-02-16')
UPDATE:

UPDATE `authors` SET `Name`='Iain Banks', `Birthday`='1954-02-17' WHERE `id`='1'
DELETE:

DELETE FROM `authors` WHERE `Birthday`<'1954-02-17'
PDO.
, JOIN . , SQL . , , , MySQL .
" !"
, , (MySQL, PHP HTML) , :

library.tpl . :
<div> <select> <option value=''>all authors</option> %author-list% </select> </div> <br /> <div>%book-list%</div>
: %author-list% %book-list%. option, . β , β "book block", HTML . , ( jquery library.tpl).
%author-list% Copy ("Author Copy"), "authors" "option", , "value" id. "Author Copy" :
<option value='1'>Iain Menzies Banks</option> <option value='2'>Charles Michael Palahniuk</option> <option value='3'>Mikhail Bulgakov</option>
"book block" :
<div class='author-%author-id%'> <img width='100' src='images/%image%' align='left' /> <b>%title%</b> by <b>%author%</b> <br /> ISBN: %isbn%<br /> <small>%description%</small> <br clear='all'/> </div>
"books" "authors". "authors" . , "books".
:
. . β , , . :
β , . . -. , . , . , . (include), , . , . MySQL.
β PHP . β , . . , , , ( ).
β , . , . , , .
. -. , β Mooha.net .
:
HTML5 Canvas Javascript ( ) JQuery 2.0 ( ) Codemirror ( ) CKEditor ( ) Spectrum Colorpicker ( ) jQuery File Tree Plugin ( )
:
Apache 2.2.22 PHP 5.4.3 MySQL 5.5.24
%title% "title" . %content% "content" . :
<div> <h1>first title</h1> <p>first content</p> </div> <div> <h1>second title</h1> <p>second content</p> </div>
Copy foreach , . for, , , ( ).
MySQL

β , β SELECT, - . , "*", :
SELECT * FROM `authors`
JSON. "" :
[ { "id": "1", "Name": "Iain Menzies Banks", "Birthday": "1954-02-16" }, { "id": "2", "Name": "Charles Michael Palahniuk", "Birthday": "1962-02-21" } ]
, :

:
["Iain Menzies Banks", "Charles Michael Palahniuk"]
SQL , . :

() :
SELECT * FROM `authors` WHERE id=1
:
[ { "id": "1", "Name": "Iain Menzies Banks", "Birthday": "1954-02-16" } ]
() :
SELECT * FROM `authors` WHERE Name LIKE '%Banks%'
:

SELECT * FROM `authors` WHERE (`Birthday` < '1990-01-01' AND `Birthday` > '1920-01-01') ORDER BY `Name` ASC
AND WHERE, ( , ORDER BY)
INSERT, UPDATE DELETE -, .
INSERT :

INSERT INTO `authors` (`id`, `Name`, `Birthday`) VALUES ('1', 'Iain Menzies Banks', '1954-02-16')
UPDATE:

UPDATE `authors` SET `Name`='Iain Banks', `Birthday`='1954-02-17' WHERE `id`='1'
DELETE:

DELETE FROM `authors` WHERE `Birthday`<'1954-02-17'
PDO.
, JOIN . , SQL . , , , MySQL .
" !"
, , (MySQL, PHP HTML) , :

library.tpl . :
<div> <select> <option value=''>all authors</option> %author-list% </select> </div> <br /> <div>%book-list%</div>
: %author-list% %book-list%. option, . β , β "book block", HTML . , ( jquery library.tpl).
%author-list% Copy ("Author Copy"), "authors" "option", , "value" id. "Author Copy" :
<option value='1'>Iain Menzies Banks</option> <option value='2'>Charles Michael Palahniuk</option> <option value='3'>Mikhail Bulgakov</option>
"book block" :
<div class='author-%author-id%'> <img width='100' src='images/%image%' align='left' /> <b>%title%</b> by <b>%author%</b> <br /> ISBN: %isbn%<br /> <small>%description%</small> <br clear='all'/> </div>
"books" "authors". "authors" . , "books".
:
. . β , , . :
β , . . -. , . , . , . (include), , . , . MySQL.
β PHP . β , . . , , , ( ).
β , . , . , , .
. -. , β Mooha.net .
:
HTML5 Canvas Javascript ( ) JQuery 2.0 ( ) Codemirror ( ) CKEditor ( ) Spectrum Colorpicker ( ) jQuery File Tree Plugin ( )
:
Apache 2.2.22 PHP 5.4.3 MySQL 5.5.24
%title% "title" . %content% "content" . :
<div> <h1>first title</h1> <p>first content</p> </div> <div> <h1>second title</h1> <p>second content</p> </div>
Copy foreach , . for, , , ( ).
MySQL

β , β SELECT, - . , "*", :
SELECT * FROM `authors`
JSON. "" :
[ { "id": "1", "Name": "Iain Menzies Banks", "Birthday": "1954-02-16" }, { "id": "2", "Name": "Charles Michael Palahniuk", "Birthday": "1962-02-21" } ]
, :

:
["Iain Menzies Banks", "Charles Michael Palahniuk"]
SQL , . :

() :
SELECT * FROM `authors` WHERE id=1
:
[ { "id": "1", "Name": "Iain Menzies Banks", "Birthday": "1954-02-16" } ]
() :
SELECT * FROM `authors` WHERE Name LIKE '%Banks%'
:

SELECT * FROM `authors` WHERE (`Birthday` < '1990-01-01' AND `Birthday` > '1920-01-01') ORDER BY `Name` ASC
AND WHERE, ( , ORDER BY)
INSERT, UPDATE DELETE -, .
INSERT :

INSERT INTO `authors` (`id`, `Name`, `Birthday`) VALUES ('1', 'Iain Menzies Banks', '1954-02-16')
UPDATE:

UPDATE `authors` SET `Name`='Iain Banks', `Birthday`='1954-02-17' WHERE `id`='1'
DELETE:

DELETE FROM `authors` WHERE `Birthday`<'1954-02-17'
PDO.
, JOIN . , SQL . , , , MySQL .
" !"
, , (MySQL, PHP HTML) , :

library.tpl . :
<div> <select> <option value=''>all authors</option> %author-list% </select> </div> <br /> <div>%book-list%</div>
: %author-list% %book-list%. option, . β , β "book block", HTML . , ( jquery library.tpl).
%author-list% Copy ("Author Copy"), "authors" "option", , "value" id. "Author Copy" :
<option value='1'>Iain Menzies Banks</option> <option value='2'>Charles Michael Palahniuk</option> <option value='3'>Mikhail Bulgakov</option>
"book block" :
<div class='author-%author-id%'> <img width='100' src='images/%image%' align='left' /> <b>%title%</b> by <b>%author%</b> <br /> ISBN: %isbn%<br /> <small>%description%</small> <br clear='all'/> </div>
"books" "authors". "authors" . , "books".
:
. . β , , . :
β , . . -. , . , . , . (include), , . , . MySQL.
β PHP . β , . . , , , ( ).
β , . , . , , .
. -. , β Mooha.net .
:
HTML5 Canvas Javascript ( ) JQuery 2.0 ( ) Codemirror ( ) CKEditor ( ) Spectrum Colorpicker ( ) jQuery File Tree Plugin ( )
:
Apache 2.2.22 PHP 5.4.3 MySQL 5.5.24
%title% "title" . %content% "content" . :
<div> <h1>first title</h1> <p>first content</p> </div> <div> <h1>second title</h1> <p>second content</p> </div>
Copy foreach , . for, , , ( ).
MySQL

β , β SELECT, - . , "*", :
SELECT * FROM `authors`
JSON. "" :
[ { "id": "1", "Name": "Iain Menzies Banks", "Birthday": "1954-02-16" }, { "id": "2", "Name": "Charles Michael Palahniuk", "Birthday": "1962-02-21" } ]
, :

:
["Iain Menzies Banks", "Charles Michael Palahniuk"]
SQL , . :

() :
SELECT * FROM `authors` WHERE id=1
:
[ { "id": "1", "Name": "Iain Menzies Banks", "Birthday": "1954-02-16" } ]
() :
SELECT * FROM `authors` WHERE Name LIKE '%Banks%'
:

SELECT * FROM `authors` WHERE (`Birthday` < '1990-01-01' AND `Birthday` > '1920-01-01') ORDER BY `Name` ASC
AND WHERE, ( , ORDER BY)
INSERT, UPDATE DELETE -, .
INSERT :

INSERT INTO `authors` (`id`, `Name`, `Birthday`) VALUES ('1', 'Iain Menzies Banks', '1954-02-16')
UPDATE:

UPDATE `authors` SET `Name`='Iain Banks', `Birthday`='1954-02-17' WHERE `id`='1'
DELETE:

DELETE FROM `authors` WHERE `Birthday`<'1954-02-17'
PDO.
, JOIN . , SQL . , , , MySQL .
" !"
, , (MySQL, PHP HTML) , :

library.tpl . :
<div> <select> <option value=''>all authors</option> %author-list% </select> </div> <br /> <div>%book-list%</div>
: %author-list% %book-list%. option, . β , β "book block", HTML . , ( jquery library.tpl).
%author-list% Copy ("Author Copy"), "authors" "option", , "value" id. "Author Copy" :
<option value='1'>Iain Menzies Banks</option> <option value='2'>Charles Michael Palahniuk</option> <option value='3'>Mikhail Bulgakov</option>
"book block" :
<div class='author-%author-id%'> <img width='100' src='images/%image%' align='left' /> <b>%title%</b> by <b>%author%</b> <br /> ISBN: %isbn%<br /> <small>%description%</small> <br clear='all'/> </div>
"books" "authors". "authors" . , "books".
:
. . β , , . :
β , . . -. , . , . , . (include), , . , . MySQL.
β PHP . β , . . , , , ( ).
β , . , . , , .
. -. , β Mooha.net .
:
HTML5 Canvas Javascript ( ) JQuery 2.0 ( ) Codemirror ( ) CKEditor ( ) Spectrum Colorpicker ( ) jQuery File Tree Plugin ( )
:
Apache 2.2.22 PHP 5.4.3 MySQL 5.5.24
Source: https://habr.com/ru/post/201646/
All Articles