Long days back I had posted an article Pagination with j Query, My SQL and PHP with out refreshing page.Ravi Tamada modified old script and added extra features like First, Previous, Next and Last buttons. I am trying to save images in my database from HTML form. The program is not generating any error message, but also not inserting image data in My SQL database. mysql_query($sql)) You are doing it wrong in many ways. Using My SQL for storing images is thought to be Bad Idea™. $image = addslashes(file_get_contents($_FILES['image']['tmp_name'])); //SQL Injection defence! $image_name = addslashes($_FILES['image']['name']); $sql = "INSERT INTO `product_images` (`id`, `image`, `image_name`) VALUES ('1', '', '')"; if (! You should also think about storing files locations on disk.X:\wamp Dont install it into Program Files, it will install there, but it adds unnecessary directory complexity and can cause problems as there is a space in that directory name.Remember, Apache/PHP/My SQL was ported from Unix and Unix does not like spaces in directory or filenames.And then apply the WAMPServer 3.0.8 update on top of WAMPServer 3.0.3 without any issues, and without changing the active versions of Apache/ My SQL and PHP NEVER INSTALL A NEW RELEASE OF WAMPServer over an existing installation You can install WAMPServer onto any disk drive ( C:, D:, etc ).