Steve,
A URL can pass html get variables to a php program with a question
mark after the program name in the URL specification. This example
demonstrates how to pass and parse multiple $_GET arguments from the URL.

see:
http://kennethtucker.com/kb/index.php?/archives/289-php-list-Navigation-in-first-application.html

Regards,

Ken

--- In [email protected], "Steve Harp" <[EMAIL PROTECTED]> wrote:
>
> Hi All,
> 
> I've writing my first php application and it's killing me.  I've been
> programming desktop stuff since the early '80s but this is way
> different; php, html, css, and (god forbid) JaveScript all interacting.
> 
> I figured out the session management (I think) and can log a user in
> and display a <table> with links <a> for the user to select the next
> action.  What I would like is for the href to specify a php function
> and pass parameters to the function.  Something like this would be
> cool but doesn't work.
> 
> <a
> href="do_some_stuff($menu_data[menu].pid)">{$menu_data[menu].pname1}</a>
> 
> I understand that the href thing can contain a URI or
> href="do_some_stuff.php", but how do you create a page where the user
> can select an option and have it call a function based on the selection?
> 
> I'm using php5, smart, & Firebird.
> 
> Thanks for any help,
> Steve
>






------------------------ Yahoo! Groups Sponsor --------------------~--> 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/2jUsvC/tzNLAA/TtwFAA/HKFolB/TM
--------------------------------------------------------------------~-> 

Community email addresses:
  Post message: [email protected]
  Subscribe:    [EMAIL PROTECTED]
  Unsubscribe:  [EMAIL PROTECTED]
  List owner:   [EMAIL PROTECTED]

Shortcut URL to this page:
  http://groups.yahoo.com/group/php-list 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/php-list/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to