Jump to content

using php to update mysql string


LostAndConfused

Recommended Posts

 

why would this show if the function name is not the same....

 

very strange i say.

 

yes that is part of the account edit page which allows members to edit their account info. all of that stuff works perfectly which uses the same basic functions. I just showed it to show everything from there on works so when I made the updateAvatar function, I just used the same basic setup from that page. Thats why i'm confused at why it's not working the same way.

 

 

Oh by the way using that database echo edit you guys recommended, when updating my account info, it shows this instead now...

Query was: UPDATE users SET email = 'OutlawCecil@gmail.com' WHERE username = 'General_Leo'
Query was: UPDATE users SET class = 'Paladin' WHERE username = 'General_Leo'
Query was: UPDATE users SET major = 'Earth' WHERE username = 'General_Leo'
Query was: UPDATE users SET minor = 'Wood' WHERE username = 'General_Leo'

Warning: Cannot modify header information - headers already sent by (output started at /hsphere/local/home/newppg/pdo.newppg.com/include/database.php:158) in /hsphere/local/home/newppg/pdo.newppg.com/process.php on line 186

Link to comment
Share on other sites

http://NewPPG.com/temp%20files/my%20site%20files.zip

 

There's a zip with all the relevant files inside... i really hope somebody can get it solved for me cause it's a little important. Not to mention i'm dieing to know what i'm doing wrong.

 

EDIT: ive included the useredit.php file which works 100% but shows it's using the same functions and setup, just without the use of a form.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.