Looking for shopping example:

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Antoni

    #1

    Looking for shopping example:

    Hello,

    I recently bought a text on php scripting, and was trying to write
    basic shopping example to explore the langauage. I would like to
    achieve a site which allowed the user click one or two buttons. And we
    kept a count of number of hits. My thought was to use the $_SESSION
    tool to store the number of clicks, and when the user clicked the grey
    submit buttton. The $_Session values would be passed to the another
    php script.

    $_SESSION["item1"] = 0;
    $_SESSION["item2"] = 0;

    My book does not include such an example, and I would much appreicate
    if anyone could proivde a example similar to what I hoping to achieve.

    Or just some written guidance how I could achieve this example.

    Thank you
  • R. Rajesh Jeba Anbiah

    #2
    Re: Looking for shopping example:

    AntoniRyszard@a ol.com (Antoni) wrote in message news:<9359a333. 0405170617.3989 f74e@posting.go ogle.com>...[color=blue]
    > Hello,
    >
    > I recently bought a text on php scripting, and was trying to write
    > basic shopping example to explore the langauage.[/color]

    <snip>

    Do you mean this <http://groups.google.c om/groups?selm=not e-21748%40php.net >??

    --
    | Just another PHP saint |
    Email: rrjanbiah-at-Y!com

    Comment

    Working...