Re: [PHP] reuse database connections

2002-09-18 Thread Kumar Lakshminarayanan
You can use persistent connections from php to mysql server using mysql_pconnect(host,user,passwd) then go on to use the returned link. this will open a new connection only if one is not available. kumar Support @ Fourthrealm.com wrote: Another question about efficiency / using server

Re: [PHP] rewriting a line in a text file

2002-09-12 Thread Kumar Lakshminarayanan
Try using an unique number as the first field of the line. You can then use that number to select the line (entry) and update it. Kumar drparker wrote: hi - i have a text file that i am using as a database. the format for each line is such (2 lines shown): Fashion|508|Text Text