#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Apr 2000
    Posts
    12
    Rep Power
    0
    Hi, hope someone has some ideas !. Is there a way to use PHP and Mysql(if needed) in the following way: Lets say I used a script that when a person enters their birthday info, this script produces an onscreen report (like horoscope), how could this browser screen be saved as a file(html or other) so I could then include it into the body of an email or attach!.

    Thanks again,
    Peter
  2. #2
  3. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2000
    Posts
    10
    Rep Power
    0
    well ... instead of echoing all the data on the fly, you can add it to a buffer variable.. you know, replace all your echo's with $buffer .= $whatever;

    once done, you can echo $buffer at the end and also email $buffer

    hope that helps
    ----------------------------
    Kryogen WebHosting - PHP4/mySQL - when you want something MORE

Similar Threads

  1. Saving freehand shapes as objects
    By steamy in forum Java Help
    Replies: 1
    Last Post: February 12th, 2004, 12:27 PM

IMN logo majestic logo threadwatch logo seochat tools logo