• Welcome to the Chevereto User Community!

    Here, users from all over the world come together to learn, share, and collaborate on everything related to Chevereto. It's a place to exchange ideas, ask questions, and help improve the software.

    Please keep in mind:

    • This community is user-driven. Always be polite and respectful to others.
    • Support development by purchasing a Chevereto license, which also gives you priority support.
    • Go further by joining the Community Subscription for even faster response times and to help sustain this space

How to add a description field images and download information from th

baden

Chevereto Member
Good day! I want to do on the field site to add descriptions to files. I installed the module user registration. I use a database. Added the description field, but does not get written to the database data from the field.
Text field - <input type="text" name="opis"/> - (index.php)
The text variable - $ to_opis = $ _POST ['opis']; - (upload.php)
Text entry in MySql - mysql_query ("INSERT INTO uploaded_images (opis) VALUES ('$ to_opis')");

Nothing is added. The cell is empty. How do I add the database data from this field?
 
Piers said:
The User System mod is not an official Chevereto Mod - you would need to ask Lautaro about that.
I know, but I need information, how can I pass a variable - $ to_opis - a file - dmx.class.upload.php - and then I shall understand.

dmx.class.upload.php - a copy of the file - class.upload.php - with a few additions.
 
Back
Top