note 23126 deleted from faq.com by phanto

From: Date: Tue, 06 Aug 2002 00:10:15 +0000
Subject: note 23126 deleted from faq.com by phanto
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-34358@lists.php.net to get a copy of this message
How can i format the resultstring ($text) which comes from a mysql-query? ---- start code ----- $word = new COM("word.application") or die("Can't start Word!"); $word->Visible = 1; $word->Documents->Add(); $word->Selection->Font->Name("Verdana"); // doesn't work prints it in Times $word->Selection->Font->Bold(); // doesn't work :-( $word->Selection->TypeText($text); $word->Documents[1]->SaveAs($fullpath); $word->Quit(); $word = null; .... ---- end code --- Everything else is working fine thanx Achim Grothkopp mailto:ag@webagentur-grips.de

« previous php.notes (#34358) next »