The Lodge is members-only design/dev videos and Office Hours.

Next Office Hours Session: "Implementing an SVG Icon System" Nov 30 - 6:00 PM Eastern

Inserting Data into Table

  • # July 12, 2013 at 7:31 pm

    Will do @traq. Thanks for explaining all this to me. You too @AlenAbdula. I couldn’t have done this without all of your help.

    # July 13, 2013 at 12:05 am

    I haven’t read whole post so I don’t know if it was mentioned. How about create another attribute in tblRead and name it MySort and set it’s default value to like 100001 and increment this upon new record added. Then you can sort on this.

    # July 13, 2013 at 12:18 am

    @Jurotek Thanks for the suggestion. It’s actually all solved now. The main cause of the problem was having the INSERT script in the same page I was displaying it. So every time I refreshed the page, it would substantially alter the increment value. After separating the INSERT script to another file, everything started working as it should. Thanks again.

    # July 13, 2013 at 12:23 am

    @chrisburton, OK, good for you.

Viewing 4 posts - 46 through 49 (of 49 total)

You must be logged in to reply to this topic.

There's a whole bunch of content on CSS-Tricks.

Search for Stuff   •   Browse the Archives

Get the Newsletter ... or get the RSS feed