KC,

Use the $_SESSION[] array and make the beginning of the PHP page start with:

    <?php session_start(); ?>

Best regards,
Jim at iDimensionz.com
-- 
http://www.iDimensionz.com  Professional web site design and affordable 
web site hosting.
------------------------------------------------------------------------
  Get the new open source web browser, FireFox, and enjoy features like 
pop up blocking, tabbed browsing and MUCH more!
  Get the new open source e-mail client, ThunderBird, and enjoy features 
like integrated spam filter, privacy protection, integrated RSS reader 
and MUCH more!

aud_galaxy wrote:

> Hi All,
>
> I'm fairly new to PHP so this may be an easy question.  What I have is
> somewhat like a photo album.  When someone goe into the website for
> the first time they get picture A, they click next and they can get
> picture B, and so forth.  Also everytime they click Next the website
> calls itself to display another picture - a recursive page.  Now these
> pictures are randomized and I want to keep track of the pics shown in
> an array.  I know how to inialize the array when a user first access
> my site, but I can't seem to keep the values in an array when they
> click the Next button to view another pic.  I guess the array is
> dropped everytime the page refreshes.  I've tried the "global" keyword
> but it doesn't seem to work.  does anybody have any ideas?
>
> Thanks.
>
> KC



The php_mysql group is dedicated to learn more about the PHP/MySQL web database 
possibilities through group learning.  
Yahoo! Groups Links

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

<*> 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