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.

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

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

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

RE: [PHP] dynamic menu possible?

2001-09-17 Thread Sitkei Pál
Your wanted solution is seen in the "phpXML" demo, by Michael P. Mehl. It is founded at the http://www.phpxml.org/. Try the exciting "xpath" example! > -Original Message- > From: LRW [mailto:[EMAIL PROTECTED]] > Sent: Sunday, September 16, 2001 4:24 PM > To: [EMAIL PROTECTED] > Subject: [

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