Looks like your code overwrites the current line, then adds a new line, which you never fill any fields. Plus, you never SAVE the table INSERT statement. You've skipped a chapter or two