Jump to content

DirtDemon

New Members
  • Posts

    3
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

DirtDemon's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Alright, I have wracked my brain on this one. I can successfully get an update form working with a users data after they login. I can successfully get an anonymous upload script to work where it just stores the file to a folder. What I want to do is... User logs in to see their profile - DONE Allow user to update text fields and upload new photo overwriting previous image if one exists with one button. Currently I have had the form complete consisting of only the correct user data after login and the ability for them to change the text fields. I cannot get any of the image upload code to work once I try to combine. Can someone please help me out please. Thanks Andy
  2. THANKS! [img src=\"style_emoticons/[#EMO_DIR#]/smile.gif\" style=\"vertical-align:middle\" emoid=\":smile:\" border=\"0\" alt=\"smile.gif\" /] Got it figured out! Andy
  3. Hello, hopefully someone can find the one little thing that most likly is causing my problem. Here is the breakdown. 1 MySQL Table with email as username, password, and a bunch of other profile fields. 1 working registration page and login page. The registration page inserts the new email and password into the DB after checking for unique email. The login page succesfully logs you in because I am calling the session username and it displays the correct email that I logged in with, I have created three test records. So here is the issue. When you successfully login I take you to a profile update page. This will show your email and password along with all those other fields so that you can fill them out or change them and then Update the record. Well that works sort of, I can make changes to the data it shows and click update and it all gets updated but...... The problem is that no matter who I log in as it ALWAYS shows the first record. It isnt taking the email (username field) and matching it up to the correct record to show the data. So how can I correct this? I can post code upon request or you can take a look here at the actual site and test it. [a href=\"http://www.redesign.maximumdirt.com/profiles.php\" target=\"_blank\"]http://www.redesign.maximumdirt.com/profiles.php[/a] Any help would be greatly appreciated!!!
×
×
  • 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.