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
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
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
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:
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
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
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
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
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 != "."
_
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
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.
>
>
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.
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
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
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 -
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
>
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
>
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
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
20 matches
Mail list logo