Added: 2 years ago
From: ADatStac
Views: 2,008
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (3)

Sign In or Sign Up now to post a comment!
  • @AL7X7 To be honest it doesn't make any difference if there is a gap in the primary key column (newsID in this case), in this case it wouldn't be displayed anywhere on the page so I personally wouldn't bother tidying it up. However, if you still want to:using phpmyadmin to enter it, just enter 4 as the newsID. If using web forms to enter the record I would run a query that returns the record with the highest ID, then increments it by 1 and sets the ID to that. Let me know if you want sample code

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more