|
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 |
|
In PHP every database is
The purpose of these examples
In some content management
Learn how to handle MySql
accessed slightly
are to show you various ways
scripts case one needs to
databases in PHP
differently. To connect to
to use PHP and MySQL. The
create a database and also
MySQL, you would use
examples include displaying
populate it (insert the
mysql_connect(). When you
all fields in the database,
tables from the example .sql
decide to upgrade to Oracle
random fields, sorting
file). It's the case of
or Microsoft SQL Server, you
alphabetically and limiting
PhpNuke for example.
You
would use ocilogon() or
the results returned.
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: Sep, 05 2003 Date: Apr, 18 2005 Date: Aug, 22 2006 Date: Jul, 30 2005 |