Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to insert data from a text file to the database and be able to show it in the web application

 
Mustafa Okbar
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guys, I am currently doing a web project called alumni and got some problem with reading the data from a text file. I have database access , person and import classes. In my import class I get one mistake. Can you help me to solve it. Thanks in advance. Bellow the code where I need to solve this problem


 
Mustafa Okbar
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The information in tex file stored like this


username: *******************************
lastname: ************************************
firstname: *****************************
email: ***************************************
password: ***************************
latitude: 50.935698
longitude: 1.330554
image: bert0000.png
school: Southampton-018, 1970 - 1974
school: Southampton-048, 1974 - 1975
school: Southampton-008, 1975 - 1977
school: Southampton-038, 1977 - 1981
school: Southampton-031, 1981 - 1985
 
Jan Cumps
Bartender
Posts: 2588
11
C++ Linux Netbeans IDE
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You should never post someone's email address or account/password combination on the internet. I have removed them for you.
 
Paul Clapham
Sheriff
Posts: 21107
32
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Mustafa Okbar wrote: In my import class I get one mistake. Can you help me to solve it.


We could quite likely help you to solve it, but first you have tell us what it is.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic