Jump to content

saturn

New Members
  • Posts

    4
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

saturn's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. I figured it out... apparently php gets all confused if you call $variable but also have a form element with name="variable" and also have $_SESSION['variable'] ::) so it all works now! what a dumb thing to go wrong. it was basically doing this: sending my query, but then I was also defining those variables as the post... so when it wasn't being posted (for example, mysql sending, or going back to the profile), it was re-defining those variables as nothing, since it wasn't being posted again...... anyway. all good now! thanks!
  2. thanks for your input... I'll try that! something weird that may help figure it out... I get 2 and sometimes 3 emails! but there's only ONE mail command...
  3. here is the code: [url=http://www.rabbsey.com/andrew/editprofile.txt]http://www.rabbsey.com/andrew/editprofile.txt[/url]
  4. it makes NO sense to me. my brain is hurting. even my friend who does programming said it makes no sense. this script is to edit a profile saved in a mysql database. the profile already exists... this just simply changes the data. (for some reason can't post code...) ..problem: whenever I submit this form, it blanks out the database! I've tried everything, from putting the variables within quotes, to changing the mysql query. finally I got rid of the sessions and tried a dry run with no pre-saved data -- it worked flawlessly! but as soon as I turn on sessions and have the form pre-filled with session data, even when that data is changed or left the same, it sends BLANKS to the database... BUT WHAT IS INSANE: if I do echo $query; it shows me a valid mysql query!! is there some sort of crazy weirdness? am I going about this completely wrong? please, someone help. also, no one haxx0r my server. thanks.
×
×
  • 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.