Image gallery using php and mysql blob storage was already discussed in this website. Please take a look at it. Php mysql example image gallery blob storage Now we are about to see a new tutorial on how to display the data or the image from mysql. This can basically be called as a 2nd version of the previous tutorial. [...]
Convert month name to month number using simple php. Here i am using the simplest trick of IF conditon in php which doesn’t need any complex logic.Here i am just converting JAN,FEB,MAR,APR,MAY…DEC accordingly. You can modify the script and change the month name according to your convinence. DEMO
This tutorial shows you how to count unique records with mysql and display it using php. Very simple to understand. This line simply means that the count value is assigned to variable count_me and we can ECHO it using Complete code is displayed below. Here i am using connect.php which contains the usual connecting logic to mysql. Here refers to [...]
IE compatibility view force Internet Explorer to use Internet Explorer 7 rendering mode.My website was having issues in the way it was displaying in Internet Explorer 8, only compatibility view was working fine.So inorder to automatically render my website in compatibility mode rather than asking my visitors to do so we can get the help of .htaccess file. All you [...]
Sort the data from mysql using date. If you have a field inside mysql for DATE and you need to sort the data accordingly in ascending or descending order you can use this UNIX_TIMESTAMP(FIELD NAME). You can even update your existing SQL TYPE to DATE but it may sometimes results in loss of date if you have not followed the [...]
Load webpage dynamically from uri or query string using simple javascript and iframe, this is very simple and easy to approach. Here is the javascript. and here grab the HTML which has iframe in it I think here there is nothing much to explain here. If you have any doubts do comment and i will try to clear it out [...]
Set xampp- Apache,Mysql, Filezilla, Mercury and Tomcat as a windows service and get xampp to start automatically on boot up. For this first we need to install xampp on windows. Refer this LINK ON HOW TO INSTALL XAMPP or we have a set of tutorials related to xampp HERE. Once we are done with the installation we need to go [...]
This is a simple script that will change the webpage title dynamically using jquery. Customize it according to your requirement.Jquery knowledge is essential to understand the code below. Any doubts do get back to me Happy Coding!!!! DEMO
Redirect webpage after a specific time delay using php.We have html code for redirecting one webpage to another.But here we have php for doing the same. We can even give a delay of our choice inside the code. Grab the code here. Put the above code in any webpage you need the redirection to be implemented. Here the above code [...]
This scripts demonstrates how to Zoom in and zoom out image using jquery when you move mouse over the image. DEMO