Jump to content

[SOLVED] Calling just posted sql information


leodirk

Recommended Posts

Ok for whatever reason I can't figure this out and it seems like it would be fairly easy to me, maybe its because I'm tired. Ok I am coding a website for my mom's new shop and basically there is a class list and a calendar that list the classes on what day they are taught. I can get the site to add the class into the database fine and the classes on the calendar for what date they should be. But I tried adding onto the page I add new classes on to have an option to add it to the calendar too. The thing is is the calendar calls the class by the classes ID which increments up by 1 for each new class automatically. The classes are stored in the 'classes' table and the calendar in 'events' and I just can't figure out how to get the page to post the new classes data while getting the new ID and posting it along with the class time/date. Sorry if this doesn't make much sense I'll try to post scripts/more later just too tired to now.. Thanks.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.