[stdinc] element index

All elements
d g h i l n p r s w
d
top
day_number
day_number() in stdinc.php
Returns the number of days since the epoch.
db_fetch_assoc
db_fetch_assoc() in stdinc.php
Fetches a row from a given result set from the database. This is a wrapper for DB-specific methods, so you should be fairly easily able to change the specific database method called within here and make it work transparently.
db_fetch_object
db_fetch_object() in stdinc.php
Fetches an object from a given result set from the database, as an object of the type specified by $_className. This class definition must be already defined.
db_fetch_row
db_fetch_row() in stdinc.php
Fetches a row from a given result set from the database. This is a wrapper for DB-specific methods, so you should be fairly easily able to change the specific database method called within here and make it work transparently.
db_insert_id
db_insert_id() in stdinc.php
Returns the last inserted ID from the database. This is a wrapper for DB-specific methods, so you should be fairly easily able to change the specific database method called within here and make it work transparently.
db_num_rows
db_num_rows() in stdinc.php
Fetches a row count from a given result set from the database. This is a wrapper for DB-specific methods, so you should be fairly easily able to change the specific database method called within here and make it work transparently.
db_query
db_query() in stdinc.php
Performs a query on the database and returns the result set. This is a wrapper for DB-specific methods, so you should be fairly easily able to change the specific database method called within here and make it work transparently.
g
top
getmicrotime
getmicrotime() in stdinc.php
Returns a float value of the current Unix timestamp with milliseconds, from the output of microtime().
h
top
html_select
html_select() in stdinc.php
Displays a <select> box. Uses the normal conventions, e.g. table names begin with "tbl", key fields are "id" and identifier fields are "name".
i
top
is_weekend
is_weekend() in stdinc.php
Returns whether a date falls on a weekend.
l
top
lcfirst
lcfirst() in stdinc.php
Makes a string's first character lowercase. Does the opposite of ucfirst.
n
top
nice_date
nice_date() in stdinc.php
Returns a string representation of the date, of differing format depending on how recent the date is.
nice_datetime
nice_datetime() in stdinc.php
Returns a string representation of the date and time, of differing format depending on how recent the date is.
p
top
plural
plural() in stdinc.php
Returns the "s" character which appears on the end of plural numbers. Will return an empty string if no plural is required (i.e. the input was 1).
r
top
redirect
redirect() in stdinc.php
Sends HTTP headers to redirect elsewhere, then exits the script.
s
top
sp2nb
sp2nb() in stdinc.php
Converts spaces to &nbsp; entities.
state
state() in stdinc.php
Maintains state.
STATE_MODE_GET
STATE_MODE_GET in stdinc.php
Maintain state with GET-mode formatting.
STATE_MODE_POST
STATE_MODE_POST in stdinc.php
Maintain state with POST-mode formatting.
stdinc.php
stdinc.php in stdinc.php
w
top
weekday
weekday() in stdinc.php
Returns the weekday of a date, according to date("w").
word_count
word_count() in stdinc.php
Returns the number of words in a string. Words are counted in a fairly primitive but 'good enough' manner.
d g h i l n p r s w