|
Learn how to easily create a
This tutorial will teach you
After reading this tutorial,
The author writes: Whilst
comment system. Don't know
how to deal with special
you should be able to add
working on the automatic
what a comment system is?
characters like HTML tags,
previous and next links to
production of web statistics
Well, it's what you see very
white space etc. from a user
your pages that display data
- came across the following
often in a news system.
submitted form and database
from a database.
problem: "How do I get
Basically it allows your
output.
relational data from an
users to give feedback on
Hierarchical
tutorials, news etc. This
structure?" It didn't
tutorial is definitley a
take long to realize - I'd
must-see.
have to use PHP to talk to
LDAP, pull off records &
upload into a series of
tables, using the cn as
primary key. Which then
could be queried
relationally. Pulling off
large, queries and
repeatedly transcending LDAP
trees is pretty slow - so I
built my LDAP to SQL engine,
by flattening dns into table
names. Then used PHP scripts
to query & produce daily
snap shots.
Date: Nov, 24 2004 Date: Jun, 17 2005 Date: Apr, 19 2005 Date: May, 03 2006 |
|
The purpose of these examples
In PHP every database is
In some content management
Learn how to handle MySql
are to show you various ways
accessed slightly
scripts case one needs to
databases in PHP
to use PHP and MySQL. The
differently. To connect to
create a database and also
examples include displaying
MySQL, you would use
populate it (insert the
all fields in the database,
mysql_connect(). When you
tables from the example .sql
random fields, sorting
decide to upgrade to Oracle
file). It's the case of
alphabetically and limiting
or Microsoft SQL Server, you
PhpNuke for example.
You
the results returned.
would use ocilogon() or
will learn here to create a
mssql_connect()
new database in phpmyadmin
respectively. What is worse
and also insert the needed
is that the parameters you
information. There are some
use for the different
images too, to help you
connect functions are
grasp the info easier.
different also.. That's why
a database wrapper library
such as ADODB comes in handy
when you need to ensure
portability.
<p>
This
tutorial has been translated
into multiple languages,
including German, Spanish,
Polish, Thai and Chinese.
Date: Apr, 18 2005 Date: Sep, 05 2003 Date: Aug, 22 2006 Date: Jul, 30 2005 |