In: SQL
24 Oct 2009In this tutorial I am going to show you very easy way to show your post Archieves. Just Writting a simple query you can create your archieve.
THE QUERY:
<?php
$query=”SELECT MONTH(fieldname)MONTH, MONTHNAME( fieldname)MONTHNAME, YEAR(fieldname )year FROM tablename GROUP BY MONTH(fieldname) , YEAR(fieldname) ORDER BY fieldname”;
//change your fieldname and tablename
$result=mysql_query($query);
while($row=mysql_fetch_array($result)){
}
?>
Now you will fetch records and above query [...]
In: CSS
7 Oct 2009Equal height columns are a perfectly way to design a web layout but it is not as easy as it see first time. In this tutorial I am going to expalin you three column layouts with equal height. I think this is very simple solution that works in all common web browsers and this solution [...]
In: CSS
7 Oct 2009Layout with CSS is a great way to manage Objects and elements in a web page and a very easy. I think css is better than the tabural stracure. In a CSS styles you need to look at each part of the page as an individual chunk that you can shove wherever you choose. You [...]
In: PHP
2 Oct 2009In this tutorial you will learn to upload image file using PHP. Together you will learn to restrict file type. In this tutorial I am showing you example in which you can upload only jpg/jpeg images. It a very easy method I am going to show you and hope you will understand.
Start With Form :
<form [...]
