13.09.2016 Views

PHP and MySQL Web Development 4th Ed-tqw-_darksiderg

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

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

958 statements<br />

auto_prepend_file (php.ini file),<br />

142-143<br />

filename extensions, 136<br />

<strong>PHP</strong> tags, 136<br />

<strong>Web</strong> site templates, 137-140, 142<br />

return statement, 154<br />

SELECT, 246<br />

LIMIT clause, 258<br />

ORDER BY clause, 255<br />

SHOW, 296-297<br />

SHOW COLUMNS, 297<br />

SHOW TABLES, 297<br />

switch statements, 49-51<br />

UPDATE, 261<br />

static bindings, 185<br />

static methods, implementing, 184<br />

STD (column) function, 256<br />

STDDEV (column) function, 256<br />

storage engines, 312-313<br />

InnoDB tables<br />

foreign keys, 315-316<br />

transactions, 314-315<br />

MEMORY tables, 312<br />

MERGE tables, 312<br />

MyISAM, 312<br />

store_account() function, 704<br />

store_account_settings() function, 668-669<br />

store_list() function, 723<br />

store_new_post() function, 767<br />

store_new_post.php files (<strong>Web</strong> forum application),<br />

744<br />

stored functions, declaring, 318-319<br />

stored procedures, 316<br />

control structures, 319-323<br />

cursors, 319-323<br />

declaring, 316-317<br />

local variables, 319<br />

stored functions, declaring, 318-319<br />

storing<br />

bookmarks, 571<br />

data, 59. See also files<br />

passwords, 295, 395<br />

redundant data (<strong>Web</strong> databases),<br />

212-213<br />

secure storage, 417-419<br />

session IDs, cookies, 511-512<br />

strings, 114-116<br />

addslashes() function, 114<br />

stripslashes() function, 116<br />

str_replace() function, 122, 787<br />

strategies, commercial <strong>Web</strong> sites, 339<br />

strcasecmp() function, 119<br />

strchr() function, 121<br />

strcmp() function, 119<br />

strings<br />

anchoring, 126-127<br />

case functions, 113-114<br />

column types, 239-241<br />

comparing, 119<br />

length of strings, testing, 120<br />

strcasecmp() function, 119<br />

strcmp() function, 119<br />

strnatcmp() function, 119<br />

concatenation operator, 26-27<br />

data type (variables), 29<br />

evaluating, 525-526<br />

formatting, 110<br />

case, changing, 113-114<br />

conversion specifications, 112-113<br />

HTML formatting, 110-111<br />

ltrim() function, 110<br />

nl2br() function, 110-111<br />

printing, 110-113<br />

rtrim() function, 110<br />

storage, 114-116<br />

trim() function, 110<br />

trimming whitespace, 110<br />

functions versus regular expression<br />

functions, 131<br />

joining<br />

implode() function, 117<br />

join() function, 117<br />

length, testing, 120<br />

operators, 34<br />

ordering<br />

strcasecmp() function, 119<br />

strcmp() function, 119<br />

strnatcmp() function, 119

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

Saved successfully!

Ooh no, something went wrong!