A
Add a column
using ALTER TABLE
Append
new info to an existing record
Arrays
Authentication with JavaScript
Buttons
Covering all cases with "case - break - default"
Create a database on the command line
Create a database and table with this script
Get
names of each column with
mysql_fetch_field
D
Date & Time
E
FInd out how you originally constructed a table
for - Repeat something using "for"
fetch_field
- example
(Prints column names
in a table)
gif - How to code PHP to have MySQL output a gif
$GLOBALS - print own full URL with this generic code
$GLOBALS - see them all with this code.
if
- Contingency using
if - elseif - else
if - Contingency using
if - do - while - else
include another file with "include"
Install and configure MySQL on Linux
Installation
of PHP to
work with MySQL on Linux.
Notes to myself on inst. on RH6.2
installation of PHP on Windows
Joins - use tables from two databases in the same query
K
show date last modified with "filemtime"
"linkself" - Make something a link with function "linkself"
List all tables on a database with this script
List all databases on a server with this script
List all files in a directory on a server with this script
Loading
data into a
table from a text file
with LOAD DATA
Output table data to a text file.
Password protect a page with JavaScript
Primary key auto increment first table
Make SELECT statements with multiple WHEREs example
T
Templates
Printing the URL of the current page with $REQUEST_URI
W
closeme - a function to close windows