Jump to content

Kevin Castro

Members
  • Posts

    32
  • Joined

  • Last visited

Posts posted by Kevin Castro

  1. fr eg:) i created 4 input tags namely username,update username,password and update password.

     

    i want to update old username into new username and old password into new password.

     

    here is the code for updating single column in php

     

    $sql="update students set where username='$user';

     

    if i update password field how to combine with this same variable....

  2. I want to update more than one column in php using mysql.

     

    fr example:

    $sql="update table_name set where username='$user';

     

    $sql="update table_name set where password='$pass';

     

    how to concatenate this querie?

     

    could you tell anyone how to solve this?

     

    Thanks in advance

×
×
  • Create New...