Board index   FAQ   Search  
Register  Login
Board index php forum :: Database mySQL & php coding

passing font formats to word

Codes here !

Moderators: macek, egami, gesf

passing font formats to word

Postby kelly_l_brown » Mon Jan 27, 2003 9:14 am

You may not be able to answer this since it is more of a microsoft word related question but I thought I would give it a try. I have php pages that are pulling information out of a mysql database. The user can do a search, see the results, and then export the information into word from the browser using php. Everything works as it should as far as passing "\t" and "\n" to format the file, but I need to be able to tell word (from my browser) that I need certain words to be bold.
Thank you in advance to anyone who can help!!
kelly_l_brown
New php-forum User
New php-forum User
 
Posts: 2
Joined: Mon Jan 27, 2003 9:07 am

Postby Oleg Butuzov » Wed Jan 29, 2003 12:53 am

to make words bold You should use html tegs <b></b>
Oleg Butuzov
Last Samuray
Last Samuray
 
Posts: 831
Joined: Sun Jun 02, 2002 3:09 am

Postby kelly_l_brown » Wed Jan 29, 2003 6:38 am

Thank you for the reply, but it's not exactly what I was looking for. <b></b> makes the font bold in html, but I want that font to be bold in word. If I have <b></b> in the code then <b> </b>(the actual code) shows up in word instead of bold letters. I want to know how to keep the letters bold in word. Thanks for your time!
kelly_l_brown
New php-forum User
New php-forum User
 
Posts: 2
Joined: Mon Jan 27, 2003 9:07 am

Postby Oleg Butuzov » Wed Jan 29, 2003 7:02 am

=)

preg_match() will help you
Oleg Butuzov
Last Samuray
Last Samuray
 
Posts: 831
Joined: Sun Jun 02, 2002 3:09 am


Return to mySQL & php coding

Who is online

Users browsing this forum: Bing [Bot] and 1 guest

Sponsored by Sitebuilder Web hosting and Traduzioni Italiano Rumeno and antispam for cPanel.