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 ).

Now that we have our sample SQL query, we can use it to create the php code that will print all comments on a page. If you're not familiar with php, any line that begins with a // is a comment, and comments are used by developers to document their code.Handling SQL table with big data like images can be problematic. It should look like this: Thank you for your interest in this question.Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).Use the Business intelligence concept to build management dashboards. Our Data Dictionary feature allows an easy translation of tables names, fields and messages.Customize your Application's UI without writing a single line of CSS or Javascript.