PDA

View Full Version : Uhmm... a little assistance?


Kratheous
08-10-2002, 07:51 PM
Okay.... here's my problem... I want to make a database type thing, that can also be forums... now, the database part only uses a few forums.... and the users can only submit to one of them.. (the submissions one). It's to submit "quests" for a program. Anyways, I made a new file, called "newquest.php" and based it off of newthread.php... And it works, up until submitting the information to the database... It submits everything except for the new fields that I had added... They stay NULL in the database, for some reason. Anyways, attached is the .php file, and in the next post, is a .txt that has what the main template (newquest) contains.

Kratheous
08-10-2002, 08:00 PM
Here's the template.

[D]Vincent
08-10-2002, 08:03 PM
Do you basically mean create a table in the database that's almost exactly like newthread.php but has extra things? Like vB's thing for posting a new hack?

Kratheous
08-10-2002, 08:12 PM
Kinda... I used the existing post table, though... I just added extra fields that could be null (for the instances where it's a normal post, and not a submission.

EDIT: Although, vB's new hack thing works well (as I can tell) and is seemingly much more organized than mine... This method would be very nice, as well.