Jump to content

Search the Community

Showing results for tags 'profile'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • General Discussion
    • Website Management and Coding
    • Technology and the Internet
    • Philosophy, Politics, and Science
    • Art and Entertainment
    • Other Discussion
  • HelioHost
    • Questions
    • Customer Service
    • How You Can Help
  • HelioNet
    • News
    • Contact HelioNet

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests

Found 1 result

  1. I have the "Jpmaster77's login script" on my site and I wanted to add "Biography's" on the profiles. I created a new row in the 'users' table called 'bio' so I added this code to the 'userinfo.php' file: /* Bio*/ echo "<b><u>Biography:</b></u> <br/> ".$req_user_info['bio']."</p></div>"; I copied it from the E-mail one, which is: /* Email */ echo "<b><u>E-mail:</b></u> <br/> ".$req_user_info['email']."</p><hr/>"; (I just changed the 'email' to 'bio' ) And here is the 'useredit.php' (edit profile) file for the editing bio: <div class="clear"></div> <p class="grid_2"><div align="center">Biography: </p> <p class="center"> <input class="center" type="textarea" name="bio" maxlength="10000" value="<?php if($form->value("bio") == ""){ echo $session->userinfo['bio']; }else{ echo $form->value("bio"); } ?>"> <?php echo $form->error("bio"); ?> </p> <div class="clear"></div> <p> And I also just copied that from the "E-mail" edit profie, which is: <div class="clear"></div> <p class="grid_2"><div align="center">E-mail: </p> <p class="center"> <input class="center" type="text" name="email" maxlength="50" value="<?php if($form->value("email") == ""){ echo $session->userinfo['email']; }else{ echo $form->value("email"); } ?>"> <?php echo $form->error("email"); ?> </p> <div class="clear"></div> <p> <br/> But my problem is when the user edits his profile nothing get submitted to the database and nothing obviously shows up on their profile. What am I doing wrong? What I said above is ALL did. Any nice help is really appreciated. [i also attached a picture of the 'bio' database row.]
×
×
  • Create New...