Topic: Update Query in profile.php

I am trying to find the SQL query that updates the information in the personal section, but I can't find it.

Can someone help me?

Re: Update Query in profile.php

I believe it's this:

$db->query('UPDATE '.$db->prefix.'users SET '.implode(',', $temp).' WHERE id='.$id) or error('Unable to update profile', __FILE__, __LINE__, $db->error());
Looking for a certain modification for your forum? Please take a look here before posting.

Re: Update Query in profile.php

I need a little more help.
I added a <select> in the personal section and I added it to the form array on line 735, but it dosen't update the value in the database.

What more needs to be done?

Re: Update Query in profile.php

I believe this might be helpful to you: http://punbb.org/forums/viewtopic.php?pid=54246#p54246

Looking for a certain modification for your forum? Please take a look here before posting.

Re: Update Query in profile.php

It works now. Thanks.