RE: [PHP] Sub Menu System?

2009-07-16 Thread Daevid Vincent
authentication and such by simply ripping out array elements (and checking the viewed page against the list) > -Original Message- > From: David Stoltz [mailto:dsto...@shh.org] > Sent: Thursday, July 16, 2009 5:55 AM > To: php-general@lists.php.net > Subject: [PHP] Sub Menu Sys

Re: [PHP] Sub Menu System?

2009-07-16 Thread tedd
At 8:55 AM -0400 7/16/09, David Stoltz wrote: Folks, I'm developing a rather large site in PHP. The main horizontal nav bar never changes, no matter how deep you are in the site. However, on the left side is a vertical "sub-menu" system. This menu is proving to be a real pain to program. I have

Re: [PHP] Sub Menu System?

2009-07-16 Thread Martin Scotta
you can make the menu based on the files. Open the directory, read the files and save some sort of "cache" that use the site. When you need to move something, just delete the "cache" an let php do the rest. On Thu, Jul 16, 2009 at 9:55 AM, David Stoltz wrote: > Folks, > > I'm developing a rathe

[PHP] Sub Menu System?

2009-07-16 Thread David Stoltz
Folks, I'm developing a rather large site in PHP. The main horizontal nav bar never changes, no matter how deep you are in the site. However, on the left side is a vertical "sub-menu" system. This menu is proving to be a real pain to program. I have it limited the menu system to 3 levels: MAIN:

Re: [PHP] Sub selects vs nested loop

2004-11-09 Thread electroteque
Hi guys and girls, while we are on this topic, has anyone got a good senario of a sub select query which can remove the nested loops ? I have been wanting to get rid of nested loops for a good while and now Mysql 4.1 is out I would like to start using it. So the usual scenario for nested loops

Re: [PHP] Sub selects vs nested loop was:Re: [PHP] You know you're a geek when...

2004-11-08 Thread Greg Donald
On Mon, 08 Nov 2004 21:57:41 +0600, raditha dissanayake <[EMAIL PROTECTED]> wrote: > Sorry no benchmarks, i am talking from personal experience where I > converted some code from a php nested loop to mysql. I was rather > surprised by the results. I will concede that I may not have optimized > the

[PHP] Sub selects vs nested loop was:Re: [PHP] You know you're a geek when...

2004-11-08 Thread raditha dissanayake
Greg Donald wrote: On Mon, 08 Nov 2004 10:40:30 +0600, raditha dissanayake <[EMAIL PROTECTED]> wrote: You know you're a geek when you know which list deals with which top and when you know that subselects in mysql is not much faster than the nested loop you have been using. Can you point me

Re: [PHP] ? Sub Directories

2004-03-24 Thread - Edwin -
Hi, On Thu, 25 Mar 2004 09:07:06 +0200 "Labunski" <[EMAIL PROTECTED]> wrote: > This script reads the content of the directory and turns it > into the array. The problem is, that this script reads the > names of the subdirectories in this directory too! ...[sample code and result]... > How to so

[PHP] ? Sub Directories

2004-03-24 Thread Labunski
This script reads the content of the directory and turns it into the array. The problem is, that this script reads the names of the subdirectories in this directory too! if ($directory = opendir('data/start')) { while (false !== ($faila_nos = readdir($directory))) { if ($faila_nos != "."

[PHP] Sub

2004-01-12 Thread Daejuan Jacobs
_ Find out everything you need to know about Las Vegas here for that getaway. http://special.msn.com/msnbc/vivalasvegas.armx -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Sub groups ? - Programming structure...

2002-04-09 Thread Erik Price
On Tuesday, April 9, 2002, at 01:19 PM, Jason Wong wrote: >> Note that some might consider this a perversion of functions, since >> functions are intended to operate on input and return a value -- but >> this is a convenient way of modularizing your display code, and I use >> it >> a lot. > >

Re: [PHP] Sub groups ? - Programming structure...

2002-04-09 Thread Jason Wong
On Tuesday 09 April 2002 21:50, Erik Price wrote: [snip] > Note that some might consider this a perversion of functions, since > functions are intended to operate on input and return a value -- but > this is a convenient way of modularizing your display code, and I use it > a lot. Not really.

Re: [PHP] Sub groups ? - Programming structure...

2002-04-09 Thread Erik Price
On Tuesday, April 9, 2002, at 09:47 AM, Gordon Stewart wrote: > Hello, - I'm used (in years gone by) to the Qbasic programme, where i > can > create 'sub' routines, & view each routine on its own - Without > reference / > Viewing the other code.. (I think its good like that..).. > > I know in

[PHP] Sub groups ? - Programming structure...

2002-04-09 Thread Gordon Stewart
Hello, - I'm used (in years gone by) to the Qbasic programme, where i can create 'sub' routines, & view each routine on its own - Without reference / Viewing the other code.. (I think its good like that..).. I know in CGI/Perl - you can use sub-routines etc... 1) Does PHP allow sub-routines, eg

[PHP] sub

2001-02-10 Thread claesson

Re: [PHP] Sub Newbie Question On Error Message

2001-01-17 Thread Dave Stewart
art <[EMAIL PROTECTED]>; PHP (General) <[EMAIL PROTECTED]> Sent: Thursday, January 18, 2001 12:36 PM Subject: Re: [PHP] Sub Newbie Question On Error Message > Take a look at the changes I made to your original post; this assumes that > the file isn't there until results are posted -

Re: [PHP] Sub Newbie Question On Error Message - Corrected...

2001-01-17 Thread Romulo Roberto Pereira
ral) <[EMAIL PROTECTED]> Sent: Wednesday, January 17, 2001 6:36 PM Subject: Re: [PHP] Sub Newbie Question On Error Message Take a look at the changes I made to your original post; this assumes that the file isn't there until results are posted - hope that's the case ;) --Toby >

Re: [PHP] Sub Newbie Question On Error Message

2001-01-17 Thread Romulo Roberto Pereira
ral) <[EMAIL PROTECTED]> Sent: Wednesday, January 17, 2001 6:36 PM Subject: Re: [PHP] Sub Newbie Question On Error Message Take a look at the changes I made to your original post; this assumes that the file isn't there until results are posted - hope that's the case ;) --Toby >

Re: [PHP] Sub Newbie Question On Error Message

2001-01-17 Thread Toby Butzon
Take a look at the changes I made to your original post; this assumes that the file isn't there until results are posted - hope that's the case ;) --Toby > http://www.ourheadoffice.co.nz/results/race01.html", "r")) { > $rf = fread($file, 20); > $grab = eregi("(.*)", $rf, $printing); > fclose

[PHP] Sub Newbie Question On Error Message

2001-01-17 Thread Dave Stewart
Hi, We have installed PHP pretty much to do one thing, which is to get data from our head office website and place it on our club site. We need to have a message saying something like "The Results are not available until after the event". I can supress the error messages by adding @ before the