Querying 2 tables and sending the result via e-mail.

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

Unique
New php-forum User
New php-forum User
Posts: 2
Joined: Fri Oct 25, 2002 6:48 pm

Querying 2 tables and sending the result via e-mail.

Postby Unique » Fri Oct 25, 2002 6:51 pm

Can some one please design me a script that will query two tables in one database and send the result via e-mail at the press of a button? Can some one please quote me on this.

John

Jay

Postby Jay » Fri Oct 25, 2002 10:57 pm

That's very difficult unless it's known what you want to do EXACTLY. I could do it in a matter of a few lines, but it depends on how much info you need and what you want to extract!

User avatar
ShenaCat
New php-forum User
New php-forum User
Posts: 9
Joined: Mon Oct 21, 2002 1:16 pm
Location: Seattle, WA
Contact:

Postby ShenaCat » Mon Oct 28, 2002 12:30 pm

I don't see where this is difficult, Jay. Definitely there needs to be more explanation before a script could be built that actually worked (such as database & table names, etc) but.. otherwise it's just a matter of writing stuff out into an email and sending it.

DoppyNL

Postby DoppyNL » Mon Oct 28, 2002 1:47 pm

ShenaCat wrote:.... Definitely there needs to be more explanation before a script could be built .....

I think that is what Jay meant, when the problem is unknown it is very difficult to solve!

to get to the actual problem.
It's not hard to do, nothing is.

first get your data from the database
then manipulate the data so it becomes what you want, possibly in a couple of steps.
and then use the mail function to mail it.

split the problem into little pieces you can solve and solve them one at a time. When your done, the whole problem is fixed :)

Greetz Daan

Unique
New php-forum User
New php-forum User
Posts: 2
Joined: Fri Oct 25, 2002 6:48 pm

Postby Unique » Mon Oct 28, 2002 4:13 pm

Okay, I have little understanding of php and sql. I have written a very brief introduction to my problem. It can be found here. I need a price for this, and possibly another small project.

I'd like to pay via paypal if possible.

John

Jay

Postby Jay » Tue Oct 29, 2002 1:07 am

DoppyNL wrote:
ShenaCat wrote:.... Definitely there needs to be more explanation before a script could be built .....

I think that is what Jay meant, when the problem is unknown it is very difficult to solve!

Mindreader!

By the way Unique, your link doesn't work! Nice looking site though

DoppyNL

Postby DoppyNL » Tue Oct 29, 2002 1:10 am

Jay wrote:Mindreader!

Scary! isn't it :twisted:

Greetz Daan

Jay

Postby Jay » Tue Oct 29, 2002 6:03 am

DoppyNL wrote:
Jay wrote:Mindreader!

Scary! isn't it :twisted:

Greetz Daan

Not really, great minds think alike ;)


Return to “PHP coding => General”

Who is online

Users browsing this forum: Jacques1 and 1 guest