-
Inserting a text file line into database
Hi, i'm still quite new to using MySQL and PHP and i'm wondering how do i get only one line from a text file n insert it into MySQL database using PHP?
For Example:
(inside text file)
Name:
King Kong
Tel:
1234567
Email: KingKong@hotmail.com
(inside Database)
Id Email
1 KingKong@hotmail.com
-
-
You can insert just about anything into MySQL. First separate your input to get the line desired, then send it to MySQL.
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks