Give help. Get help.

  • MBM
    # March 1, 2014 at 3:38 pm

    Awesome. Thanks Chris.

    # March 1, 2014 at 3:42 pm

    But yes, one table (probably the form table) would have an auto-incrementing PK, which the other table would use.

    The id from the from table is only generated once the record is created. The problem is the image data is also written at the same time so how would I write a query to generate the session from the form table and write it into the image table? Would I write it as part of the insert query?

    # March 1, 2014 at 4:34 pm

    You can use MYSQL_INSERT_ID.

    # March 1, 2014 at 4:45 pm

    You can use MYSQL_INSERT_ID.

    Hmm. Sounds promising. Will look into this.

    # March 10, 2014 at 7:14 pm

    Resolved it in a similar away. I’m almost finished. I have a script for editing stored form data and images. If I upload an image and save it the form alignment goes out of whack. I’ve played around with the css that I think is the issue but it doesn’t make a difference.

    upload issue

    upload issue

    It’s live here :

    username & password = admin

    php :

    css :

    # March 11, 2014 at 8:00 pm

    Solved. A check for duplicate image error was pushing the content down.

Viewing 6 posts - 31 through 36 (of 36 total)

You must be logged in to reply to this topic.