[PHP] Re: Can this be done with mail()?

2002-07-13 Thread Richard Lynch
> >I need to query a database and return a resultset. A php script will then >sort through the data and send the data to the browser in the form of a table. > >Is it possible to gather the the results with html tags and store them in a >variable so that the results can be emailed to someone? If

[PHP] Re: Can this be done with mail()?

2002-07-13 Thread Peter
Yes. I'm sure you could just mail out the table in an email. You'd have to do it as a multipart email (i think that's what it's called) as just mailing out the html code wouldn't show as a table in a mail client. Here's the source of a HTML spam I got this morning - should give you an idea how to