troubleshooting Question

I want a PHP script that update the record in the table in MySQLfrom time to time ( 30 sec or 1 min) which the data source is text file.

Avatar of alex8716
alex8716 asked on
PHP
10 Comments1 Solution627 ViewsLast Modified:
I want a PHP script that update the record in the table in MySQLfrom time to time ( 30 sec or 1 min) which the data source is text file.

Data source is client.txt

as i have a system which will generate text file of some data time to times.
CREATE TABLE Client (
 ClientID INT NOT NULL auto_increment,
 Address VARCHAR(30) NOT NULL,
 City VARCHAR(20) NOT NULL,
 ClientName VARCHAR(50) NOT NULL,
 ContactFirstName VARCHAR(20),
 ContactLastName VARCHAR(30) NOT NULL,
 Email VARCHAR(70) NOT NULL,
 State VARCHAR(2) NOT NULL,
 ZIP CHAR(10),
 username varchar(20) NOT NULL default '',
 password varchar(20) NOT NULL default '',
 PRIMARY KEY (ClientID),
 UNIQUE (username)
)type=myisam auto_increment=1;
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 10 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 10 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros