<td>Upload your pic</td>
      <td><input type="file" name="1234" value=""></td>
      $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

Recommended Answers

All 2 Replies

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, learning, and sharing knowledge.