Author Topic: Store infomation in the database from ACP  (Read 3078 times)

0 Members and 1 Guest are viewing this topic.

Offline Sun Zaza

  • Sr. Member
  • ****
  • Posts: 399
    • View Profile
Store infomation in the database from ACP
« on: November 13, 2007, 04:58:38 PM »
Hi guys,

I just bought 2 books to start learnig PHP. I love it! But till then I need some suppot from you.

Because my motto is Nothing is perfect, I decide to improve daily my gallery. So I have an Idea, but I need your help:

I want to store in the database all thing I want to change in the gallery, otherwise I will forget it.

I added a new table 4images_todo in the database and two column stuff_todo and stuff_done.
With phpMyadmin I insert some information to test it. It is working fine.

I also could use it on my custom page (Thanks to mawenzi and Thunderstrike).

To be perfect I want to add the information from ACP. This is the big problem!
I already add thing todo, add thing todo and delete thing todo to the navigation. And now I stuk.

I need the file todo.php in admin to use /admin/todo.php?action-addtodo and /admin/todo.php?action-modifytodo

I just want to store some information in the database via ACP in two fields. :?

Many thank in advance,
Cruxy

Offline thunderstrike

  • 4images Guru
  • *******
  • Posts: 2.327
    • View Profile
Re: Store infomation in the database from ACP
« Reply #1 on: November 14, 2007, 12:42:16 AM »
Quote
I want to store   in the database all thing I want to change in the gallery, otherwise I will forget it.

Use this: http://www.4homepages.de/forum/index.php?topic=6113.0 ;)
8 steps need when ask question -

- PHP version (ACP - > phpinfo())
- mySQL version (ACP - > phpinfo())
- 4images version
- Post screenshot / URL
- Post code in BB Code (no need full file for code) or post attach file
- It doesn't work. What is say - what is do for no work
- Install MOD ? If so - please say (troubleshooting)
- Read FAQ ? Install Bug fixes ?

Offline Sun Zaza

  • Sr. Member
  • ****
  • Posts: 399
    • View Profile
Re: Store infomation in the database from ACP
« Reply #2 on: November 14, 2007, 01:01:06 AM »
I will try it. Thank you Thunderstrike :)