Topic awaiting preservation: NULL values inserted into table |
|
---|---|
Author | Thread |
Bipolar (III) Inmate From: London, UK |
posted 11-26-2002 23:08
Hey peoples code: --------------------------------------------------------------------------------
|
Bipolar (III) Inmate From: London, UK |
posted 11-26-2002 23:43
PS. code: (0, '$modCode', '$modTitle', '$lecturer', '$week', '$topics')";
|
Maniac (V) Mad Scientist From: 100101010011 <-- right about here |
posted 11-27-2002 00:44
your syntax is a bit messed you need the column names |
Bipolar (III) Inmate From: the uterus |
posted 11-27-2002 00:48
code: $query = "insert into lecfiles values ('', '$modCode', '$modTitle', '$lecturer', '$week', '$topics')";
|
Bipolar (III) Inmate From: London, UK |
posted 11-27-2002 01:15
I finally got it sorted... code: mysql_select_db("projectg");
|
Paranoid (IV) Inmate From: Behind the Wheel |
posted 11-27-2002 03:39
I beleive you can get all of the $_Post values out by using extract($_Post) then use the variable names |