It appears you have not yet registered with DEVPPL. To register please click here... (it's fast, easy and free!)

Forum

Log In Sponsors
Board index Programming PHP and MySQL Forum

auto fill from txt file

Moderator: Malcolm

auto fill from txt file

Postby jason213123 on Wed Jul 28, 2010 1:03 pm

hi,
i looking for a way to use a auto fill for a inputbox text
but all that i found is using a mysql bd.
there is any solution using a txt file? stored in server.
thanks a lot for your help
:)
jason213123
 
Posts: 36
Joined: Sat Mar 01, 2008 11:16 am

Re: auto fill from txt file

Postby webmaster on Wed Jul 28, 2010 4:03 pm

You can use like file_get_contents(filename.txt) to load the contents of the file to a variable, then maybe explode every row to an element in an array, and then work with this.

All depending on how your current script works, but it's possible! =)
User avatar
webmaster
Site Admin
 
Posts: 2695
Joined: Tue Aug 17, 2004 1:07 pm
Location: Sweden


Who is online

Users browsing this forum: No registered users and 1 guest