Databases: database change, where is the code?

Databases: database change, where is the code?

by Georg Köppen -
Number of replies: 3
Hello,

i am using a structure similar to the forum, i added a single row. My question is, where to put the code, to take the value into the database?
can you help me?

Georg
Average of ratings: -
In reply to Georg Köppen

Re: Databases: database change, where is the code?

by Tim Hunt -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers
Can you explain what you are trying to do in a bit more detail?
In reply to Tim Hunt

Re: Databases: database change, where is the code?

by Georg Köppen -
I have added real player to a discussion, which is streaming media. Each discussion is about one single video so if somebody creates such a discussion he has to enter the path of his video. i need an additional field for this when somebody creates a new discussion plus what he enters has to be taken into the database. if somebody wants to see the video the adress to it is taken from the database and used to show the right file.
I am using the forum modul for this.
where is the code that enters values into a database and the code that takes it? And where is the code for creating a new discussion in a forum?