<td>Upload your pic</td>
      <td><input type="file" name="1234" value=""></td>
      <?php
      $img      =$_POST['1234'];
$sql="UPDATE users SET FirstName='$FirstName' , LastName='$LastName', UserName='$UserName' $sql_pass,Email='$Email' ,
Gender='$Gender',PicUrl='$img' WHERE UserId='$User_ID'";
      ?>

want to save in image folder also

Click Here for a link on uploading a file to a folder. You should only use the database as a pointer.

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.