jjs319 0 Newbie Poster

Hey guys. You guys were awesome in helping me solve my last issue. I was wondering if I couldn't pick your brains again? I've been able to troubleshoot and solve most of my issues myself, but am a bit confused on this one. I found a similar thread to my question (http://www.daniweb.com/forums/thread180510.html), but am unsure how to implement this advice into what I'm doing. I have a 'My Account' page that allows users to have access to their account information, and update it as needed. The previous thread says I need to input a unique identifier. Is this just a numbered column within my database? Also, how do I get my page to use this identifier? Code below:

My Account Information      </p>
      <form action="<?php echo $editFormAction; ?>" method="post" name="form2" id="form2">
        <table align="center">
          <tr valign="baseline">
            <td nowrap="nowrap" align="right"><div align="left">Username:</div></td>
            <td><?php echo $row_Account_Setup['username']; ?></td>
          </tr>
          <tr valign="baseline">
            <td nowrap="nowrap" align="right"><div align="left">Password:</div></td>
            <td><input type="text" name="password" value="<?php echo htmlentities($row_Account_Setup['password'], ENT_COMPAT, 'utf-8'); ?>" size="32" /></td>
          </tr>
          <tr valign="baseline">
            <td nowrap="nowrap" align="right"><div align="left">First Name:</div></td>
            <td><input type="text" name="fname" value="<?php echo htmlentities($row_Account_Setup['fname'], ENT_COMPAT, 'utf-8'); ?>" size="32" /></td>
          </tr>
          <tr valign="baseline">
            <td nowrap="nowrap" align="right"><div align="left">Last Name:</div></td>
            <td><input type="text" name="lname" value="<?php echo htmlentities($row_Account_Setup['lname'], ENT_COMPAT, 'utf-8'); ?>" size="32" /></td>
          </tr>
          <tr valign="baseline">
            <td nowrap="nowrap" align="right"><div align="left">Date of Birth:</div></td>
            <td><input type="text" name="DOB" value="<?php echo htmlentities($row_Account_Setup['DOB'], ENT_COMPAT, 'utf-8'); ?>" size="32" /></td>
          </tr>
          <tr valign="baseline">
            <td nowrap="nowrap" align="right"><div align="left">Street Address:</div></td>
            <td><input type="text" name="address1" value="<?php echo htmlentities($row_Account_Setup['address1'], ENT_COMPAT, 'utf-8'); ?>" size="32" /></td>
          </tr>
          <tr valign="baseline">
            <td nowrap="nowrap" align="right"><div align="left">City, State, Zip:</div></td>
            <td><input type="text" name="address2" value="<?php echo htmlentities($row_Account_Setup['address2'], ENT_COMPAT, 'utf-8'); ?>" size="32" /></td>
          </tr>
          <tr valign="baseline">
            <td nowrap="nowrap" align="right"><div align="left">Email:</div></td>
            <td><input type="text" name="email" value="<?php echo htmlentities($row_Account_Setup['email'], ENT_COMPAT, 'utf-8'); ?>" size="32" /></td>
          </tr>
          <tr valign="baseline">
            <td nowrap="nowrap" align="right"><div align="left"></div></td>
            <td><input type="submit" value="Update Information" /></td>
          </tr>
        </table>
        <input type="hidden" name="MM_update" value="form2" />
        <input type="hidden" name="username" value="<?php echo $row_Account_Setup['username']; ?>" />
      </form>
      <p>&nbsp;</p>
    </div>
  </div>

Any help would be greatly appreciated. Thanks again for helping me with my previous question. You guys are the best.
Jason

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.