profile page

Discussion in 'PHP' started by nitin14, Feb 19, 2012.

  1. #1
    hiii
    i am new in php i am creating login script.the user successfully login an go to profile page he can update any statement an show to all user home page.but i have problem
    user can update any statement display own statement in profile page.i am using two tables registration an status.the registration table can use user information an status table can use user update status...how it is possible.
    Thanks..
     
    nitin14, Feb 19, 2012 IP
  2. sarahk

    sarahk iTamer Staff

    Messages:
    28,899
    Likes Received:
    4,555
    Best Answers:
    123
    Trophy Points:
    665
    #2
    Depending on the fields in the form and the script processing the form submission you can send one, two or even 100 sql updates to the database.

    Are you using a framework like cakephp or doing it all from scratch?

    If you are a real newbie you may benefit from building your site around something like Joomla or Wordpress

    You will benefit from

    * increased security from sql injections and other nastys you don't have time to learn about before they become a problem
    * out of the box functionality you may not have even considered
    * best practice coding (hopefully) that will show you how good code is written, structured and even documented

    don't underestimate the learning potential from using one of these systems and you'll feel like a webmaster much more quickly.
     
    sarahk, Feb 20, 2012 IP
  3. Paresh Shrimali

    Paresh Shrimali Well-Known Member

    Messages:
    266
    Likes Received:
    32
    Best Answers:
    0
    Trophy Points:
    150
    #3
    developing and coding also a database creation are depend to related your field and scripting.
     
    Paresh Shrimali, Feb 24, 2012 IP