Jump to content

freaklikeme

New Members
  • Posts

    3
  • Joined

  • Last visited

    Never

Posts posted by freaklikeme

  1. Firstly thank you so much Crayon Violent & ManiacDan for taking the time to answer.

     

    From what you said I have about 1000 more questions... I'll try to reign them into a couple.

     

    1. I presume (know) the log in script I am using starts a session - can you start 2 sessions?

     

    For the other 999 questions I think it's better I show you what I already have and point out where it fails.

     

    I start with this (only on the home page):

     

    session_start();

     

    $_SESSION['wishlist'] = $_POST['wishlist'];

     

    on all pages.

     

    $wishlist = $_SESSION['wishlist'];

     

    echo $wishlist;

     

     

    The problem with above is... the variable $wishlist passes to all the other pages but does not pass back to the home page - also you can not post to the other pages, also it is a single variable and I need it as an array.

     

    I have an agency site, when you log in as a client you are given an extra option (a form) which posts the username (of the current page) dancer to it's SELF - what I am trying to do is collect all the names as an array and display them on a page where the client can then submit it to the casting team.

     

    Crayon Violent if you could expand on your array example, explaining how to create an array from a set of post results.

     

    PS. If you want to see what I already have (maybe it will make more sense than my ramblings) go to pirouette-dance-agency.co.uk the submit buttons under 'news' is what I have so far.

     

    Lee.

  2. Hello,

     

    I noticed your search bar (home page for example) looks a bit sloppy when you put the cursor in it (set focus) - It can be easily fixed by removing the {height: 30px;} from the ' #search input ' section of your CSS (media/css/screen.min.css)

     

    Hope this helps... if it does and you have the power to get a master to answer my unanswered php question then please do.  ;)

     

    Lee.

  3. Hello,

     

    I have been studying PHP for less than a year so please be gentle.

     

    I am building an agency website where users can add themselves etc. What I want to do now is allow clients to collect a list of these users which they can submit to the site along with a job description.

     

    What I actually need help with is sending the usernames to a 'collection' page. I want to allow the client to move between the profile pages selecting the users they like the look of and then be able to go to the 'cart/collection' page and see their list.

     

    I have a basic knowledge of sessions just no real idea how to pass variables/arrays.

     

    Any help would be much appreciated.

     

    Cheers - Lee.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.