[SOLVED] print report in email message

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
munnan
Forum Newbie
Posts: 7
Joined: Fri Jan 09, 2004 12:27 am

print report in email message

Post by munnan »

I am facing a problem,actually I want to get a print function work in email message,that function is working fine when I display the text of email through print();
but as I get that text in email ,the button gets functionless,I will be very pleased if some on ehelp me out in this problem.thanx
Grim...
DevNet Resident
Posts: 1445
Joined: Tue May 18, 2004 5:32 am
Location: London, UK

Post by Grim... »

Let me see if I understand what you are trying to do:

You want to send someone an email with a button in, that, when clicked, will open a report?

Emails can only use HTML, not PHP (as far as I know), but as long as you had the report online, you could do something like:

Code: Select all

<form action="http://www.reports.com/myreport.htm">
<input type="submit" value="Click here to see the report">
</form>
Let me know if I've got totally the wrong end of the stick :)
munnan
Forum Newbie
Posts: 7
Joined: Fri Jan 09, 2004 12:27 am

prb solved

Post by munnan »

gotcha ,
thanx for the msg ,
my prb is solved :P
Post Reply