Could anyone help me out with how to print the entire contents of a 
database as an Excel file? I'm familiar with the header:

header("Content-Type: application/vnd.ms-excel");

just not sure how to go about it beyond that. I have this code and
am not sure what do do after it. Thanks.
Jeff Oien

while ($row = mysql_fetch_array($result)) {
        $Event = $row['Event'];
        $First_Name = $row['First_Name'];
        $Last_Name = $row['Last_Name'];
        $Title = $row['Title'];
        $Organization = $row['Organization'];
        $Phone = $row['Phone'];
        $Email = $row['Email'];
        $date = $row['date'];
        $id = $row['id'];

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to