PHP Login System with Admin Features

This forum was created to talk about the PHP Login System with admin features created by jpmaster77 on evolt's website


    special fields only visable to logged in users

    Share
    avatar
    moosenet

    Number of posts : 1
    Registration date : 2009-03-09

    special fields only visable to logged in users

    Post  moosenet on Mon Mar 09, 2009 9:29 am

    Hello.

    I like the script, works good for me, but what I was wondering is, i have a back end shopping cart program and a "public product catolog" wiht NO pricing. I was wondeirng IF when a registered user is logged in, the price becomes visable to that user, but not to the public viewing the same page.

    Thanks
    avatar
    Fred-Eric

    Number of posts : 63
    Registration date : 2007-05-13

    Re: special fields only visable to logged in users

    Post  Fred-Eric on Mon Mar 09, 2009 10:03 am

    moosenet wrote:Hello.

    I like the script, works good for me, but what I was wondering is, i have a back end shopping cart program and a "public product catolog" wiht NO pricing. I was wondeirng IF when a registered user is logged in, the price becomes visable to that user, but not to the public viewing the same page.

    Thanks



    Code:

    if($session->logged_in{
    echo 'show the price';
    } else {
    echo 'price is hidden you must register';
    }

      Current date/time is Mon Dec 11, 2017 7:01 pm