11.07.2015 Views

PHP MySQL - Stilson.net

PHP MySQL - Stilson.net

PHP MySQL - Stilson.net

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

• INDEXwww.it-ebooks.infoColumn_priv column, tables_priv table,571–572columnCount( ) method, retrieving datawith PDO, 621--column-names option, 513--columns option, 725columns_priv table, 561–562, 572combining arrays, 127command-line interface (CLI), 331command-line <strong>MySQL</strong> clientsmyisamchk client, 519–520mysql clientbatch mode, 508–509displaying results vertically, 509getting server statistics, 510interactive mode, 506–508logging queries, 510modifying mysql prompt, 510–511options for, 513–515outputting data in HTML and XML,511overview, 505paging output with, 509preventing unwanted deletes, 510viewing configuration variables, 512viewing system status, 512–513mysqladmin client, 515–516mysqlcheck client, 520mysqldump client, 517mysqlhotcopy client, 518mysqlimport client, 519mysqlshow client, 517–518options forconnection options, 521–522general options, 522overview, 520overview, 505using SSL-enabled, 586commandsretrieving results, 253–254shell, executing with backticks, 254SQL, automatically executing, 500system-level, executing, 253COMMENT 'string', stored routinecharacteristics, 632commenting codemultiple-line C syntax, 45shell syntax, 44single-line C++ syntax, 44comments, in Smarty, 394Commercial License, 480commit( ) methodtransactions with PDO, 626using transactions with <strong>PHP</strong>, 605COMMIT command, 714communication ports, setting, 501comparisonsoperators, 73with subqueries, 684–685compatibility_test directory, 416compilation, 406compile_id parameter, 393Compiled HTML Help (CHM), 11Complete installation, <strong>MySQL</strong>, 492compound typesarrays, 51objects, 52--compress option, 513, 522, 725compressed MyISAM storage engine, 530CONCURRENT option, 721conditional statementselse statement, 79elseif statement, 79–80if statement, 78–79switch statement, 80conditionals, for multistatement storedroutinesCASE, 636–637IF-ELSEIF-ELSE, 636overview, 635config_load, for Smarty, 404–405configLoad method, 404configs directory, 391, 404configuration data, managing, 470–471configuration directivesautomatically enabling sessions, 370automating URL rewriting, 370choosing cookies or URL rewriting, 370displaying errors to browsers, 177–178displaying startup errors, 178identifying log files, 178ignoring errors originating from samelocation, 179ignoring repeated errors, 178logging errors, 178managing session storage media, 369overview, 175for <strong>PHP</strong>. See run-time directives for <strong>PHP</strong>setting caching directions for sessionenabledpages, 371–372setting error sensitivity level, 176–177setting maximum log line lengths, 178740

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!