This doesnt seem to work.
mysql_query("SELECT max(newsorder) FROM news") or die("Couldn't ececute query.");
$newsorder1=$row[newsorder]+1;
I tried to do a auto increment but I already have a auto_increment in the database. Here is what it is.
id mediumint(9) NOT NULL auto_increment,
title text NOT NULL,
teaser text NOT NULL,
text longtext NOT NULL,
date datetime NOT NULL default '0000-00-00 00:00:00',
newsorder varchar(5) NOT NULL default '',
KEY id (id),
I need to auto increment twice so that later we can rearrange the news order