Jump to content

jefferis

New Members
  • Posts

    3
  • Joined

  • Last visited

Profile Information

  • Gender
    Not Telling

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

jefferis's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. THANKS, I figure out what was wrong almost as soon as I posted this question. For some reason the Session value is posting as uppercase, so instead of using = I had to use a LIKE and then everything worked as expected... Thanks again, Jeff
  2. Hi folks, I'm new to this board. I am trying to use a session value to call a record to auto fill values for a form page. I defined the variable before the query: $Dealer = $_SESSION['Dealer_ID']; And the query is $query_getAddress = "SELECT * FROM users WHERE users.Dealer_ID = ' $Dealer'"; The user table has field values like UserFirstname, UserAddress, etc. BUT when I put this call on the page : <?php echo $row_getAddress['UserAddress'] . $Dealer ; ?> The $Dealer var prints out correctly, but for some reason, I am not able to echo the other fields in the users table. So it appears the query is not calling the info on the current user/Dealer_ID… from the session ID. I am wondering if there is a problem using session values to get accurate values?
×
×
  • 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.