Creating Query Strings without Databasea

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
newuser41
Forum Newbie
Posts: 3
Joined: Wed Feb 26, 2003 4:04 am
Location: London, England

Creating Query Strings without Databasea

Post by newuser41 »

Hi,

I am creating a website mostly using HTML and pages with a .html extention, but I will be adding a news site / information collection.

In all ideal circumstances I would like to have each news story / article have it's own extension

i.e. news.php?article=676

I am really stuck on what to do, because I know that it has been done without a single MySQL query.

Thanks for any help you can give, I'd appreciate it massively :)
User avatar
BDKR
DevNet Resident
Posts: 1207
Joined: Sat Jun 08, 2002 1:24 pm
Location: Florida
Contact:

Post by BDKR »

Use a flat file. There are file based databases. This may be what you're after. Check out these links.

1) http://ffdb-php.sourceforge.net/
2) http://www.php.net/manual/en/ref.dba.php

There may be tutorials to help you along as well. Check Alltheweb or Google.

Cheers,
BDKR (Terrence)
newuser41
Forum Newbie
Posts: 3
Joined: Wed Feb 26, 2003 4:04 am
Location: London, England

Post by newuser41 »

Thanks very much,

I'll take a look now :)
User avatar
BDKR
DevNet Resident
Posts: 1207
Joined: Sat Jun 08, 2002 1:24 pm
Location: Florida
Contact:

Post by BDKR »

Right on :!: Let me know how it works out.

Cheers,
BDKR (Terrence)
newuser41
Forum Newbie
Posts: 3
Joined: Wed Feb 26, 2003 4:04 am
Location: London, England

Well, I've taken the decision...

Post by newuser41 »

After looking at the Flatfile samples, I have decided against it and I'm doing it via MySQL :)
User avatar
BDKR
DevNet Resident
Posts: 1207
Joined: Sat Jun 08, 2002 1:24 pm
Location: Florida
Contact:

Post by BDKR »

Whatever works for ya!

Cheers,
BDKR
Post Reply