Monday, February 24, 2014

Tute 21 : Make category page

Now we take a new document into the notepad++ soft. We write same code who show in index.php file. Or copy the all code and past here. Then save the file in our "tute" folder. We write this file name is "category.php".

In top of page we delete some code. Delete the query line who made for left article.



Now we some edit this code. Go to "<div id="body-con-l">" line and select <?php to ?> code.



Then delete this code. After that save the file and go to google chrome. Now we open a new tab. Then write this address in address bar :

----------------------

localhost/tute/category.php

------------------------

We see a page same of home page. But there are no content in left side. We will show category article in here.


No comments :

Post a Comment