Jump to content

kirkdaddy

New Members
  • Posts

    3
  • Joined

  • Last visited

kirkdaddy's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. With that said, maybe I can be pointed in the correct direction for learning more details on PHP programming? I would consider myself more of a hobbyist at this point, being self taught, I am limited on what knowledge I have ascertained myself but learn very quickly. I would never presume to have others do my work for me, but with the lack of information I've been able to find on this topic, I was hoping a "push in the right direction" by someone who may have script or programming clips or suggestion might spark the fire of the "right track" for me. Suggestions on syntax commands would be much appreciated, if possible, as I can amend and figure out how to adapt the rest of the arguments and coding to my specific needs. Thanks much for the help so far and for any help the future may bring.
  2. The PHPRunner program already has a PDF generation script built in which, when it works properly, presents the user with a PDF of the record formatted properly. I'm trying to simplify things a bit more, however, by providing an "E-mail this record" button that, when clicked, will convert to PDF or simply copy the displayed HTML, wrap it into an attachment and prepare it for emailing (or just simply pull the email address out of the field in the record and automatically send that email to the customer. An HTML formatted email would be ok as well as I can send an HTML email. The problem is the coding or scripting to process that information and format the message or PDF the same way it appears on the screen. As one can tell, I'm not too versed with coding very much and haven't written any of the existing code on my own. I have tried to adapt the code that PHPRunner uses to generate the PDF view of the record but I'm getting lost in the coding and can't fully decipher everything that is included in the PHP file that PHPRunner generates and uses to generate the PDF view of the record. I'm not sure if all hope is lost or if there just isn't a way to do everything I want to. Currently, the user can generate the PDF, download it, and attach it to an email with their locally installed email client; I'm just trying to make it more seamless to send the customer their electronic copy of the record and sort of automate most of the process. Additionally, for informational purposes, the PHPRunner program uses FPDF to generate the PDF view of the record. Also, the users are all using Google Chrome as the web browser and, as such, can use the "Print" command to save a PDF copy manually then manually email the record.
  3. I have an operational database I built with PHPRunner software that works flawlessly...for the most part. I want to add functionality for a button which, once pressed will generate a "Print" copy of the current record as it appears in PHP from the actual web page. I don't mind if the content is attached in PDF, HTML, or any other form as long as the "Print" output looks the same as if it were actually printed on paper. The goal is to provide a method for users to simply click a button to send an email copy of the electronic information for the customer's records. I already have a field within the form that contains the customer's email address, so I can have the script pull that email and automatically use that. I just need the script to automatically attach the PDF copy or HTML copy (not sure which would be easier). It seems to me that if there were a way to have the "Print" command generate the copy then attach that generated copy instead of sending it to the "Print" dialog for the web browser, that would be easiest to then somehow attach to the email to be sent. I have scoured the web trying to find an option for this and only now have appealed to the experts on this forum for a possible resolution.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.