Re: [PHP] Dynamic menu

2010-07-19 Thread Dan Joseph
On Sat, Jul 17, 2010 at 5:17 PM, jordan wrote: > I am new in this group and first whant to say hello to all. > Need me menu who have different link if user is login or logout, something > like dynamic menu. Somebody can tall me how can i use and create this > menu.

[PHP] Dynamic menu

2010-07-19 Thread jordan
Hello All, I am new in this group and first whant to say hello to all. Need me menu who have different link if user is login or logout, something like dynamic menu. Somebody can tall me how can i use and create this menu. Thansk -- PHP General Mailing List (http://www.php.net/) To unsubscrib

RE: [PHP] dynamic menu with show hide capabilities - understanding possible workflow

2009-10-30 Thread MEM
> -Original Message- > From: MEM [mailto:tal...@gmail.com] > Sent: terça-feira, 27 de Outubro de 2009 12:05 > To: 'a...@ashleysheridan.co.uk' > Cc: 'Jim Lucas'; 'php-general@lists.php.net' > Subject: RE: [PHP] dynamic menu with show hide

RE: [PHP] dynamic menu with show hide capabilities - understanding possible workflow

2009-10-27 Thread MEM
>Think of it a bit like an online shop selling operating systems: > >1) All the main OS's you sell are on the front page - Linux, MacOS & Windows >2) User clicks on Linux, and is taken to the url /products/linux and they are >shown all the Linux OS's on offer >(Fedora, SuSe, Ubuntu, Knoppix, etc)

RE: [PHP] dynamic menu with show hide capabilities - understanding possible workflow

2009-10-27 Thread Ashley Sheridan
On Tue, 2009-10-27 at 11:39 +, MEM wrote: > >That sounds about right yeah. You could also get a little bit clever and > >only retrieve the rows from your db that >will go to make the array elements > >you'll need. It doesn't make sense to retrieve a full product list each time > >>someone v

RE: [PHP] dynamic menu with show hide capabilities - understanding possible workflow

2009-10-27 Thread MEM
>That sounds about right yeah. You could also get a little bit clever and only >retrieve the rows from your db that >will go to make the array elements you'll >need. It doesn't make sense to retrieve a full product list each time >someone >visits the page, Ok. >so you only need to retrieve t

RE: [PHP] dynamic menu with show hide capabilities - understanding possible workflow

2009-10-27 Thread Ashley Sheridan
On Tue, 2009-10-27 at 10:25 +, MEM wrote: > >I think the term drop-menu is bad in this case, as essentially what you are > >saying is: > > > >1) user is presented with the basic navigation menu > >2) user clicks an item and page navigates somewhere else > >3) because of the item user clicked

RE: [PHP] dynamic menu with show hide capabilities - understanding possible workflow

2009-10-27 Thread MEM
>I think the term drop-menu is bad in this case, as essentially what you are >saying is: > >1) user is presented with the basic navigation menu >2) user clicks an item and page navigates somewhere else >3) because of the item user clicked in 2) display some extra menu items > Exactly. >That's n

RE: [PHP] dynamic menu with show hide capabilities - understanding possible workflow

2009-10-27 Thread Ashley Sheridan
On Tue, 2009-10-27 at 00:55 +, MEM wrote: > Thanks a lot for your replies. > > Let's see if I understand, if not, please, let me know, I'm not that > proficient in English. > Second try, in order to accomplish this, I have to: > > > 1) Generate the multidimensional array from query. > >

RE: [PHP] dynamic menu with show hide capabilities - understanding possible workflow

2009-10-26 Thread MEM
Thanks a lot for your replies. Let's see if I understand, if not, please, let me know, I'm not that proficient in English. Second try, in order to accomplish this, I have to: 1) Generate the multidimensional array from query. 2) Generate the ul / li menu (echo + foreach) displaying all child

Re: [PHP] dynamic menu with show hide capabilities - understanding possible workflow

2009-10-26 Thread Ashley Sheridan
"What > if > JS is turned off??" > > Show everything by default. Then, using JS, hide all that should be hidden and > go from their. > > > > > Thanks a lot once again, > > Márcio > > > > > > > > > > From: Ashley Sheri

Re: [PHP] dynamic menu with show hide capabilities - understanding possible workflow

2009-10-26 Thread Jim Lucas
off??" Show everything by default. Then, using JS, hide all that should be hidden and go from their. > > Thanks a lot once again, > Márcio > > > > > From: Ashley Sheridan [mailto:a...@ashleysheridan.co.uk] > Sent: segunda-feira, 26 de Outubro de 2009 14:38

RE: [PHP] dynamic menu with show hide capabilities - understanding possible workflow

2009-10-26 Thread Ashley Sheridan
io > > > > > > > > > > > From: Ashley Sheridan [mailto:a...@ashleysheridan.co.uk] > Sent: segunda-feira, 26 de Outubro de 2009 14:38 > To: MEM > Cc: php-general@lists.php.net > Subject: Re: [PHP] dynamic menu with show hide capabilities - > u

RE: [PHP] dynamic menu with show hide capabilities - understanding possible workflow

2009-10-26 Thread MEM
-feira, 26 de Outubro de 2009 14:38 To: MEM Cc: php-general@lists.php.net Subject: Re: [PHP] dynamic menu with show hide capabilities - understanding possible workflow On Mon, 2009-10-26 at 13:28 +, MEM wrote: Hello all, I'm on my way to build my first dynamic menu using php. Ho

Re: [PHP] dynamic menu with show hide capabilities - understanding possible workflow

2009-10-26 Thread Ashley Sheridan
On Mon, 2009-10-26 at 13:28 +, MEM wrote: > Hello all, > > I'm on my way to build my first dynamic menu using php. > However, each time I say this, people start jumping at me crying out loud: > "Jquery" . > I don't need js for this. Really. (At least, this is what I believe). > > So I was wo

[PHP] dynamic menu with show hide capabilities - understanding possible workflow

2009-10-26 Thread MEM
Hello all, I'm on my way to build my first dynamic menu using php. However, each time I say this, people start jumping at me crying out loud: "Jquery" . I don't need js for this. Really. (At least, this is what I believe). So I was wondering if It's possible to accomplish it, by using css and php

Re: [PHP] PHP Dynamic menu building

2003-12-05 Thread Lowell Allen
> Dear list, >I have been facing problems while building dynamic menu. I am using > database to store the Menu items. I am having two fields in the database > table called ParentID, ChildID. > ParentChild > 10 > 20 > 30 > 41 > 51 > 61 > 73 > 83 > 94 > 10

[PHP] PHP Dynamic menu building

2003-12-05 Thread K. Praveen Kumar
Dear list, I have been facing problems while building dynamic menu. I am using database to store the Menu items. I am having two fields in the database table called ParentID, ChildID. Parent Child 1 0 2 0 3 0 4 1 5 1 6 1 7 3 8 3 9 4 10

Re: [PHP] Dynamic menu not passing value to PHP?

2003-06-17 Thread Dennis Martin Ong
Got it sorted out now > > $query_rsCat = "SELECT * FROM inventory WHERE category='$sltCat' OR > > item_name LIKE '%$txtSearch%'"; >>This will select all the items if either $sltCat or $txtSearch is empty. >>Janet '%$txtSearch%' would always evaulate as '%%' in Mysql when the txtSearch field

Re: [PHP] Dynamic menu not passing value to PHP?

2003-06-16 Thread Jason Wong
On Tuesday 17 June 2003 05:45, Dennis Martin Ong wrote: > Is there > something I've missed out cos it seems like the $sltCat which is suppose to > pass the selected option value when the form is submitted is not passing > the correct value, So have you verified that it passes the value as expect

[PHP] Dynamic menu not passing value to PHP?

2003-06-16 Thread Dennis Martin Ong
Hi, I'm trying to create a page where a user can choose to view products by category by selecting a drop down menu or he can choose to do a search against the item name. The script seems to work but I'm puzzled cos the mysql query seems to be querying all the category while it is suppose to match

Re: [PHP] Dynamic menu from DB

2003-01-09 Thread Marek Kilimajer
I don't know about the flash part, but submenus are simple. Your menu items table needs a "parent" column, where the id of the parent menu item, but for top level menus (Flash static menu) it will be 0. Then first select all menu items with parent=0 and as you loop throught the result result, r

[PHP] Dynamic menu from DB

2003-01-09 Thread Cesar Aracena
Hi all, I'm making a new site for a client and he needs to put several different menus under a static FLASH menu. The bad part is that every item in the flash menu leads to different categories and these need different number of sub menus. I use MySQL & PHP 4. The categories and sub categories are

RE: [PHP] dynamic menu possible?

2001-09-17 Thread Sitkei Pál
To: [EMAIL PROTECTED] > Subject: [PHP] dynamic menu possible? > > > Hi all. > I was wondering if a situation I'll describe below is possible. If it is, > I'm hoping someone could point me to the topics I would need to study to > learn how to do it. I hate to say that ri

Re: [PHP] dynamic menu possible?

2001-09-17 Thread Nikola Veber
Whell, you could use that php script for getting file names and put links toward those files in a layer, which can be controled with java. If you are not a java expert, you can do it with macromedia dreamweaver + extensions. I don't know java, but I made a layer based site at http://www.okspar

RE: [PHP] dynamic menu possible?

2001-09-16 Thread Luboslav Gabal ml.
> What I want to do is have a drop-down menu where the options are files This is matter of HTML or JavaScript > located in a folder on the server that changes as items are added to or > removed. Then the user can select an item from the menu, submit, and that > page will load. This is script f

[PHP] dynamic menu possible?

2001-09-16 Thread LRW
Hi all. I was wondering if a situation I'll describe below is possible. If it is, I'm hoping someone could point me to the topics I would need to study to learn how to do it. I hate to say that right now I don't have the time to read the Manual or any books cover-to-cover to figure it out...but I