Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.php > #14154
| Date | 2014-07-30 20:26 +0200 |
|---|---|
| From | Luuk <luuk@invalid.lan> |
| Newsgroups | comp.lang.php |
| Subject | Re: sending pdf files to individual email... |
| References | <80518368-4133-4211-9d51-4949a5799d06@googlegroups.com> <0.c785a44165ca78df9327.20140729114034BST.87ha2030ta.fsf@bsb.me.uk> <lr881l$ovj$1@dont-email.me> <0.cb7ec34f1f7a3ac6698c.20140729183132BST.87mwbscbrf.fsf@bsb.me.uk> <2322489.l0nUaAXmaq@PointedEars.de> |
| Message-ID | <j0qnab-053.ln1@luuk.invalid.lan> (permalink) |
On 29-7-2014 20:40, Thomas 'PointedEars' Lahn wrote: > Ben Bacarisse wrote: > >> Jerry Stuckle <jstucklex@attglobal.net> writes: >>> On 7/29/2014 6:40 AM, Ben Bacarisse wrote: >>>> nag <visitnag@gmail.com> writes: >>>> <snip> >>>>> I have a text file with employee_number and employee_name and >>>>> employee_email id delimited with comma. >>>>> >>>>> i have uploaded it into a mysql table called empDetails. >>>> >>>> That may not be the best thing to do. For example, if the definitive >>>> source of the data is somewhere else and it's been exported to you to >>>> do this task, putting it into a DB just complicates the process and adds >>>> another point of failure. It does not make the task any easier. >>>> >>>> (Of course, there are lots of cases when it *is* the right thing to do >>>> -- it's impossible to say from what you've said.) >>> >>> Actually, I think it's a pretty logical thing to do. Retrieving data >>> from a SQL database is easier than a .csv file. >> >> I'd say they are pretty much the same, with the DB being a tad more >> fussy if it needs authentication. But I was talking about the work >> flow. I was saying that fopen and an fgetcsv loop is easier than the >> import *plus* the read from DB. > > You have to deal with several delimiters and escape sequences in a CSV, but > not in a database. A proper database does not have have empty lines/rows, But when importing that csv file to your database you also have to solve these things......
Back to comp.lang.php | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
sending pdf files to individual email... nag <visitnag@gmail.com> - 2014-07-28 22:31 -0700
Re: sending pdf files to individual email... "J.O. Aho" <user@example.net> - 2014-07-29 09:34 +0200
Re: sending pdf files to individual email... Ben Bacarisse <ben.usenet@bsb.me.uk> - 2014-07-29 11:40 +0100
Re: sending pdf files to individual email... Jerry Stuckle <jstucklex@attglobal.net> - 2014-07-29 09:36 -0400
Re: sending pdf files to individual email... Ben Bacarisse <ben.usenet@bsb.me.uk> - 2014-07-29 18:31 +0100
Re: sending pdf files to individual email... Jerry Stuckle <jstucklex@attglobal.net> - 2014-07-29 14:19 -0400
Re: sending pdf files to individual email... Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2014-07-29 20:40 +0200
Re: sending pdf files to individual email... Luuk <luuk@invalid.lan> - 2014-07-30 20:26 +0200
Re: sending pdf files to individual email... Denis McMahon <denismfmcmahon@gmail.com> - 2014-07-29 19:53 +0000
Re: sending pdf files to individual email... Denis McMahon <denismfmcmahon@gmail.com> - 2014-07-29 19:50 +0000
Re: sending pdf files to individual email... Derek Turner <frderek@cesmail.net> - 2014-07-29 11:11 +0000
Re: sending pdf files to individual email... nag <visitnag@gmail.com> - 2014-08-19 07:20 -0700
Re: sending pdf files to individual email... Jerry Stuckle <jstucklex@attglobal.net> - 2014-08-19 11:42 -0400
Re: sending pdf files to individual email... Michael Vilain <vilain@NOspamcop.net> - 2014-08-22 22:46 -0700
csiph-web