Hey all,
Thanks to everyone who replied.
I did a couple more searches on google and found that i was using the wrong
search words, after visiting quite a few sites i saw that what i was looking
for is called a "link farm" (would never have guessed that in a million
years), got a nice link to
http:
here's a decent article outlining how to build a
directory. including code samples:
http://www.webreference.com/perl/xhoo/php1/
olinux
--- Marek Kilimajer <[EMAIL PROTECTED]> wrote:
> You need to create a recursive function:
>
> // pseudo code
> function count_content($cat_id) {
> SELECT
AIL PROTECTED]
Sent: Saturday, October 04, 2003 9:28 AM
Subject: [PHP] hotscripts style program
Hey,
Anybody have any code or links to explain how to make a program like the
one
running on hotscripts?
eg:
when you visit there you have a couple of categories like : ASP, JAVA, PHP
You need to create a recursive function:
// pseudo code
function count_content($cat_id) {
SELECT COUNT(*) FROM content WHERE cat_id='$cat_id'
$count=sql_result();
SELECT cat_id FROM categories WHERE cat_id='$cat_id'
while($cat_id2 = sql_result()) {
$
Are you looking to make a new HotScripts style website or just a similar menu system?
- Original Message -
From: Ryan A
To: [EMAIL PROTECTED]
Sent: Saturday, October 04, 2003 9:28 AM
Subject: [PHP] hotscripts style program
Hey,
Anybody have any code or links to explain
Hey,
Anybody have any code or links to explain how to make a program like the one
running on hotscripts?
eg:
when you visit there you have a couple of categories like : ASP, JAVA, PHP
etc
(if you select php)
PHP
--Scripts
--Books
--tutorials
(if you select scripts)
--Scripts
category1(324)
6 matches
Mail list logo