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.infoerror numbersconverting to messages, 364retrieving, 364–365error sensitivity level, setting, 176–177error_get_last( ) function, 178error_log directive, 178–179error_reporting directive, 176–177errorCode( ) method, 614ErrorController.php file, 466errorInfo( ) method, 614–615errorMsg( ) method, 327error(mysqli_stmt stmt) method, 605errorsdisplaying to browsers, 177–178logging, 178originating from same location,ignoring, 179repeated, ignoring, 178startup, displaying, 178storing in variables, 179es_ES code combination, 451es_MX code combination, 451escape character, 59escape sequences, 75ESCAPED BY clause, 722escapeshellarg( ) function, 252, 292escapeshellcmd( ) function, 252, 292–293escaping shell arguments, 292escaping shell metacharacters, 292–293/etc/passwd file, 323event handling, with jQuery, 441–442EVENT privilege, 576Event Scheduler, Windows, 509Event_priv column, 564, 568–570Events.class.php file, 157EXAMPLE storage engine, 535examplesproducts database, 589of transactionsexecuting transaction, 712–714overview, 711participants table, 712trunks table, 712exception class, extending, 185–186exception handlingcatching multiple exceptions, 186–189extending base exception classdefault constructor, 184methods, 184–185overloaded constructor, 184extending exception class, 185–186overview, 182–183Standard <strong>PHP</strong> Library (SPL) exceptions,189exec( ) command, 292exec( ) method, and PDO, 616–617execute( ) methodprepared statements with PDO, 619using prepared statements with <strong>PHP</strong>,601EXECUTE privilege, 576Execute_priv column, 564, 567, 569–570--execute=query option, 513Executive class, 163, 165, 167–168, 170existence, determining with subqueries,685–686EXISTS clause, 686experienced_age_view view, 665–666experienced_view view, 665EXPLAIN statement, 702explode( ) function, 107, 217, 308EXPORT OPTIONS option, 729exporting dataand delimitation, 720overview, 728with SELECT INTO OUTFILEexample using, 730exporting to Microsoft Excel, 730–732tips for, 729expose_php directive, 29, 431expressionsfunctionsconverting arrays into strings, 217–218counting number of characters instrings, 225–226counting total number of words instrings, 226–227determining frequency of string'sappearance, 222exploding strings based onpredefined delimiter, 217finding last occurrence of strings,219padding and stripping strings, 223–224performing complex string parsing,218–219replacing all instances of strings withother strings, 219–220748

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

Saved successfully!

Ooh no, something went wrong!