for upgrading php-news from 1.4 to 1.41 to add catagory support.


1. upload upgrade.sql to your database.
	mysql -u your_login -p your_database_name < upgrade.sql
	
	this will create the new catagory table add catagory_id to the news table insert a default catagory into the catagories table and move all your existing news into this default catagory.

copy in the folowing files.

show_news.php
list_cat.php

admin files -
news.php
catagory.php
menu.inc.php


open your version of news.inc and add this.

// this is the default catagory in the event that you dont pass a catagory_id to show_news.php
// it will use this catagory.
$default_news_cat="site news";


adding this keeps you from losing any changes you may have already made in news.inc the only change was that one line.



read using.txt

