I think the way most people store images is to upload the image to a separate directory and then store the url to the image in the database. (The alternative is to store in a blob field in mysql). If you have an employee id already, then just upload the picture to /images/employee99.jpeg or whatever, then create a new field in the employee table and store the location of the picture. Then on your web site just retrieve the location from mysql and put <img src="$image_location">. That would be the easiest way.