PHP forums, MySQL forums, Web Development resources

Home PageHome    PHP ResourcesTopic List    FAQFAQ    SearchSearch    MemberlistMemberlist    UsergroupsUsergroups 
 RegisterRegister
    ProfileProfile    Log in to check your private messagesLog in to check your private messages    Download the RSS Reader RSS Feed Download the RSS Reader RSS for this forum Log inLog in 

PHP Forum :: MySQL Forum :: Java Script Forum



Need Help regarding using the UPDATE fuction with PHP, MySQL

 
Post new topic   Reply to topic    WeberForums.com Forum Index -> PHP General
View previous topic :: View next topic  
Author Message
europeanteens



Joined: 13 Jul 2008
Posts: 16

PostPosted: Thu Jul 17, 2008 12:17 am    Post subject: Need Help regarding using the UPDATE fuction with PHP, MySQL Reply with quote

Basically, I would like my users to beable to sign in, and then go to their 'My account' page, and then they can change their password, username, profile, and email etc.

1. I already have a database setup.

2. I just need someone to create that 'updatedetails.php' page to complement this code.
Thanks.

Code:
<form method="POST" action="updatedetails.php">
          <table width="393" height="269" border="8" align="center" cellpadding="0" cellspacing="0" bordercolor="#FFFFFF">
            <tr>
              <td width="375" height="253" bgcolor="#0033CC"><table width="397" height="240" border="0" cellpadding="0" cellspacing="0">
                 
                  <tr>
                    <td width="89" height="30"><div align="center"><span class="style37"> Username</span></div></td>
                    <td width="10"><div align="center" class="style37">:</div></td>
                    <td width="298"><span class="style45">-</span>
                        <input name="username" type="text" size="35">
                      &nbsp;</td>
                  </tr>
                  <tr>
                    <td height="30"><div align="center"><span class="style37">Password</span></div></td>
                    <td><div align="center" class="style37">:</div></td>
                    <td><span class="style45">-</span>
                      <input name="password" type="password" size="35">
                    &nbsp;</td>
                  </tr>
                 
                  <tr>
                    <td height="30"><div align="center"><span class="style37">Email</span></div></td>
                    <td><div align="center" class="style37">:</div></td>
                    <td><span class="style45">-</span>
                        <input name="email" type="text" size="35">
                      &nbsp;</td>
                  </tr>
                  <tr>
                    <td height="30" valign="top"><div align="center">
                        <p class="style37">Profile</p>
                    </div></td>
                    <td valign="top"><div align="center" class="style37"><br />
                      :</div></td>
                    <td><span class="style45">-</span>
                        <textarea name="profile" cols="27" rows="8"></textarea>
                      &nbsp;</td>
                  </tr>
                 
                  <tr>
                    <td height="30">&nbsp;</td>
                    <td>&nbsp;</td>
                    <td align="right"><input type="submit" value="Change Info" />
                      &nbsp;
                      <input name="Reset" type="reset" value="Reset" />
                      <span class="style45">----</span></td>
                  </tr>
              </table></td>
            </tr>
          </table>
      </form>
       
      </p></th>
  </tr>
Back to top
View user's profile Send private message
TheStalker



Joined: 17 Jul 2008
Posts: 3

PostPosted: Thu Jul 17, 2008 4:40 pm    Post subject: Reply with quote

i have an update page i have been working on if you send me your email addrress i can send you it. You can change it to make it work for what you want to do.
Back to top
View user's profile Send private message
europeanteens



Joined: 13 Jul 2008
Posts: 16

PostPosted: Thu Jul 17, 2008 4:50 pm    Post subject: Reply with quote

TheStalker wrote:
i have an update page i have been working on if you send me your email addrress i can send you it. You can change it to make it work for what you want to do.


Cool thanks, we can speak on MSN, PM sent.
Back to top
View user's profile Send private message
Display posts from previous:   
WeberTrivia Questions WeberTrivia Questions
 Think you are smart? Prove it!. Try your skills with these questions :
 WeberTrivia QuestionsRecursive arrays and multi-dimensional arrays are one and the same. (PHP and MySQL)
 WeberTrivia QuestionsThe \"cache_dir\" tag of the squid configuration has a default of /var/spool/squid. (Linux)

WeberTrivia Questions



PHP Code Examples
 Stream diffrent sizes of images from a single image to save disk space.
 JavaScript dropdown list menu to switch any page.
 Dump the contents of a PHP variable in html format with a recursive list of subfolders and files from a given root directory.
 PHP Dump in html format the contents of one array variable with a recursive list of the nested array variables inside.
 Link Extractor - This function is used to extract links from a given URL. This will convert relative path into absolute path and also remove PHPSESSID stuff.
 Building a Dynamic Form using Javascript and innerHTML. Add form elements in realtime without refreshing the page.
 A PHP Calendar function with CSS : add a cool calendar to any php page by just adding a calendar class based function.
Post new topic   Reply to topic    WeberForums.com Forum Index -> PHP General All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum






Powered by phpBB © 2001, 2005 phpBB Group
PHP Forum :: MySQL Forum :: Java Script Forum