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.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.