pasting php in microsoft word

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
dannymc1983
Forum Commoner
Posts: 80
Joined: Wed Feb 16, 2005 7:24 am

pasting php in microsoft word

Post by dannymc1983 »

anyone know of a way of pasting php code into microsoft word so that it appears as the way it does in the php tags? im writing code in dreamweaver which appears in this format but if i try copy and paste it directly into word it just appears as normal black font without all the nice colours and all the formatting is messed up which is pretty annoying. i suppose i could do a screenshot of the code and save it as an image file and insert this into word but id like to keep the code as text format in word. anyone have a better idea?
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

potentially, you could have php highlight the file, then possibly get word to read the html correctly... only other stuff I can think of is a pain (COM)
Post Reply