View Single Post
  #5 (permalink)  
Old 01-06-04, 03:59 PM
HasansWeb HasansWeb is offline
Newbie Coder
 
Join Date: Jan 2004
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
playtothebeat, there are two ways. One in which you can define which row and then use VALUE to add to each (in order). In the other, you don't specify columns but you must specify a value for every single one (use NULL to skip).

But yeah, according to the manual and other references I've read, you use VALUE. That's a part of your problem.

$query = "INSERT INTO forums VALUES($id,$fname,$description,$minpow,$minpow,$mi npow,0 ,0, , ,$order)";
$result = mysql_query($query);

That's how I always do it. It should work fine...
Reply With Quote