file problem

M

Maya

Hi.

I have txt file at c:\. I need to scan every row and insert it to form.
the form include sub form and button submt, when I click submit I call to
function that read from the file line by line, and insert data to the form.
it parse any line when it get to'#'
for example:
c:\phone.txt
123#david smith#London#54545
231#Sara Kermer#NY#98975

the form table is:
phone_id|name|zip_code

I was trying to write it in loop, so if I'll add column into the table (and
to the file in proper) - it will be much easier,
can anyone help?
Thanks.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top