Welcome to the Small Business Ideas Forum! We are a community of over 100,000 small business folks with over 163,000 posts for you to browse. We pride ourselves on being the friendliest forum you will find and we'd love to have you as a member of our community. Please take a moment and register for a free account. If you need any help, please contact Chris Logan.

Small Business Ideas Forum

Small Business Ideas Forum

A friendly place to share small business ideas and knowledge, ask questions, find help and encourage others that are involved in the small business industry. Topics include small business marketing, generating revenue and small business computing.

Go Back   Small Business Ideas Forum > Small Business Computing > Website Development
Register Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
Old 5th November 2014, 06:41 AM   #1
OceansTech
Member
 

Join Date: Nov 2014
Posts: 3
Default Formatting Is Not Supportable

Hey....
I have one issue. Whenever i copy some content from MS Word or MS Excel and paste that content to PHP, then after that it would not be formatted(i.e.Bold or Itallic or Font change or font size change,etc.). So please someone help me out from this problem.
Thanks....!!!

OceansTech

OceansTech is offline   Reply With Quote
Register or log in to remove this ad.
Old 5th November 2014, 10:35 AM   #2
torka
Moderator
 
torka's Avatar
 

Join Date: Mar 2006
Location: Triangle area, NC, USA, North America, Earth (usually)
Posts: 4,101

Search Engine Guide Blogger

Default

I confess I'm a little puzzled. Anyone I know who understands enough about PHP to be using it for programming would already know the answer to this... so I wonder why you're using PHP if you don't understand what it is and what it does.

PHP is a scripting language, not a formatting language, so it's no surprise it doesn't carry forward the formatting from Word or Excel. The PHP scripting language has no syntax for formatting -- it relies on other presentation/formatting languages (such as HTML or CSS) to handle that.

If these are intended to be pages presented via the web, you either need to use a text editor to add the HTML/CSS formatting yourself, or have Word or Excel save the document or spreadsheet to HTML format. If you choose the second option, you will likely need to do some extensive clean up, as the HTML generated by Word and Excel is stuffed with Microsoft-proprietary code that is not necessary and could get in the way of proper presentation for the web.

--Torka

__________________
Diane Aull - NineYards.com: Helping Businesses Do Business Online
Whether you think you can, or that you can't, you are usually right.
torka is offline   Reply With Quote
Old 5th November 2014, 09:27 PM   #3
Logan
Administrator
 

Join Date: Jun 2004
Location: Colorado
Posts: 8,046
Default

For Word to html this tool can be helpful/better than nothing
http://word2cleanhtml.com/

__________________
Search Engine Guide - Small Business Guide to Search Marketing
Small Business Brief - Small Business Ideas Forum, Articles & News
Logan is offline   Reply With Quote
Reply   

Bookmarks


Similar Threads
Thread Thread Starter Forum Replies Last Post
Formatting Your Newsletter for Gmail Subscribers Robert Newsletters and Email Marketing 1 27th October 2004 08:44 AM



Thread Tools

Get Updates
RSS Feeds:
RSS Feed for Website Development RSS for this Category Only: Website Development

RSS Feed for Small Business Ideas Forum RSS for Entire Forum
Forum Rules


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


Small Business Ideas Forum


 
At Your Business - Small Business Directory
Free Business Forms - Prewritten Documents
 
Search Engine Guide
Small business guide to search marketing

 
Small Business Brief
Fetching the Best Small Business Info


Free Links - Free Advertising
Free Guide - Online Directory



Advertise your business here
Contact us for more details!


Semantic Juice
Register now to access free Quick SEO service!


Rocket Lawyer
Sign up for free 7 day trial. Boost your biz!


Buy UPC Codes
Get your products listed online!




All times are GMT -5. The time now is 07:07 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
Copyright 2004 - 2018 - Privacy