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.infodate and time (cont.)<strong>PHP</strong> 5.1+calculating difference between dates,286DateTime constructor, 284formatting dates, 284modifying dates and times, 285overview, 283setting date after instantiation, 284–285setting time after instantiation, 285<strong>PHP</strong>'s date and time libraryconverting timestamps to userfriendlyvalues, 275current time, 274formatting dates and times, 271–274timestamps, 276–277validating dates, 270Unix timestamp, 269DATE data type, 537–538date_default_timezone_set( ) function, 270date_format( ) function, 395, 629dateformat.tpl template, 395dateslocalizing, 455variable modifiers in Smarty, formatting,395DateTime( ) method, 284DateTime class, 283–285DateTime constructor, 284DATETIME data type, 538DateTimeZone class, 284date.timezone directive, 270daysofweek.tpl template, 398Db columncolumns_priv table, 572db table, 568host table, 570procs_priv table, 573tables_priv table, 571DB database abstraction class, 311, 313db table, and privileges in <strong>MySQL</strong>, 568–569db_fields element, 313DBD::<strong>MySQL</strong> module, 579DBI module, 579de_DE code combination, 451--debug option, 725DECIMAL data type, 541decimal integers, ad binary representations,74DECLARE statement, 632, 644, 688–689declaringmethods, 145properties, 138–139variables, in <strong>PHP</strong>, 57–58decoding session data, 376–377decrement operators, 71decrypting data, 433DEFAULT attribute, 544default constructor, 184DEFAULT data type attribute, 544default function, 395, 401default storage engines, setting, 500default tag, 399default value, variable modifiers in Smarty,395–396DEFAULT values, 723default_charset, run-time directive for <strong>PHP</strong>,34default_mimetype, run-time directive for<strong>PHP</strong>, 34default_mimetype directive, 34default_socket_timeout, run-time directivefor <strong>PHP</strong>, 36--default-character-set=character_setoption, 513--default-domain=FILENAME option, 452--defaults-extrafile=/path/to/configuration/fileoption,522--defaults-file=/path/to/configuration/fileoption, 522default.tpl template, 396define( ) function, 66define_syslog_variables( ) function, 180DEFINER clause, 630, 653, 665DELETE command, 566, 575, 580delete command, preventing unwanted, 510--delete option, 725DELETE permission, 579DELETE privilege, 575, 578, 580DELETE query, 508, 510delete_old_rdn parameter, 362Delete_priv column, 563, 566, 569–570deleting data, with query( ) method, 595–596delimitation, and importing and exportingdata, 720Delimited radio button, 730delimiter parameter, 202, 241, 388DELIMITER statement, 633delimiters, 43, 217, 388744

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

Saved successfully!

Ooh no, something went wrong!