|
-
Feb 11th, 2008, 11:46 AM
#1
Thread Starter
Frenzied Member
WordPress data to own pages
Yo,
Any of you done this?
Create a wordpress site like I did (blog.niconel.com), then connect to the database from another site (www.niconel.com) and display blog postings, comments, etc there?
Reason is I'm having little problems (as you can see at www.niconel.com/blog) with displaying data. (Like the little blocks inserted where there is spaces)
-
Feb 12th, 2008, 09:14 PM
#2
Re: WordPress data to own pages
Set your character encoding to ISO-8859-1 or Windows-1252 and the little blocks go away. You can trigger this using a Content-type header.
PHP Code:
header('Content-type: text/html;charset=ISO-8859-1');
They shouldn't be there in the first place, though — they appear to be a weird type of space character. Perhaps WordPress inserts non-breaking spaces?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|