 |
นำข้อความที่บันทึกโดย ckeditor มาแสดงยังไงครับผม |
|
 |
|
|
 |
 |
|
คือพอเข้าไปดูใน mysql แล้วมันเป็นตามด้านล่างนี้ครับ
ผมลองใช้
<?PHP echo $message; ?>
ก็ออกมาเหมือนด้านล่างนี้เลยครับ คืออยากให้แสดงผลออกมาสวยงามครับผม
จะใช้คำสั่งอะไรมาแสดงครับ
Code
<p style="margin: 10px 0px 0px; padding: 0px; border: 0px; outline: 0px; font-size: 15px; font-family: Helvetica, Arial, sans-serif; vertical-align: baseline; -webkit-font-smoothing: subpixel-antialiased; line-height: 19.984375px; color: rgb(0, 0, 0);"> With the <a href="http://reviews.cnet.com/iphone-5s/" section="luke_topic" style="margin: 0px; padding: 0px; border: 0px; outline: none; font-size: inherit; font-style: inherit; font-family: inherit; vertical-align: baseline; color: rgb(41, 100, 191); text-decoration: none; cursor: pointer;">iPhone 5S</a> now available, the onslaught of new cases for it is in full swing. True, many of the "old" <a href="http://www.cnet.com/iphone-5/" section="luke_topic" style="margin: 0px; padding: 0px; border: 0px; outline: none; font-size: inherit; font-style: inherit; font-family: inherit; vertical-align: baseline; color: rgb(41, 100, 191); text-decoration: none; cursor: pointer;">iPhone 5</a> cases (several of which are still in this round up) fit the new iPhone 5S just fine because the iPhone 5's design is very close to the iPhone 5S'.</p> <p style="margin: 10px 0px 0px; padding: 0px; border: 0px; outline: 0px; font-size: 15px; font-family: Helvetica, Arial, sans-serif; vertical-align: baseline; -webkit-font-smoothing: subpixel-antialiased; line-height: 19.984375px; color: rgb(0, 0, 0);"> However, there are two key differences. First, the 5S has a fingerprint sensor, which means any iPhone 5 case that covers the home button technically isn't compatible with the iPhone 5S (you can, of course, not use the fingerprint sensor, but if you want to, you don't want anything covering the home button). Many "tough" cases are affected by the addition of the fingerprint sensor.</p> <p style="margin: 10px 0px 0px; padding: 0px; border: 0px; outline: 0px; font-size: 15px; font-family: Helvetica, Arial, sans-serif; vertical-align: baseline; -webkit-font-smoothing: subpixel-antialiased; line-height: 19.984375px; color: rgb(0, 0, 0);"> Second, Apple has added an additional LED flash to the 5's back camera. As long as the hole on the back of an iPhone 5 case is big enough to accommodate the dual flashes, it should be compatible. But it's important to note that the ring around the camera also needs to be black. Word is that if it's another color, it could confuse the flash's sensor, which is designed to optimize the color of the flash to bring out the best skin tones in your subjects.</p>
Tag : PHP, MySQL
|
|
 |
 |
 |
 |
Date :
2013-10-03 15:15:35 |
By :
เดี่ยว |
View :
999 |
Reply :
6 |
|
 |
 |
 |
 |
|
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
จะให้ออกมาสวยยังไงครับ?
เอาเป็นว่าปกติแล้วในการแสดงผลจะใช้ CSS ช่วยครับ ลองดูครับ  
|
 |
 |
 |
 |
Date :
2013-10-03 17:25:20 |
By :
arm8957 |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
แล้วตอนนี้เป็นยังไงครับ คือผมไม่เห็นภาพว่าคุณต้องการแบบไหน?
|
 |
 |
 |
 |
Date :
2013-10-03 17:51:40 |
By :
arm8957 |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
ตอบความคิดเห็นที่ : 3 เขียนโดย : arm8957 เมื่อวันที่ 2013-10-03 17:51:40
รายละเอียดของการตอบ ::
คือตอนนี้ออกมาอย่างนี้ครับ
Code
<p style="margin: 10px 0px 0px; padding: 0px; border: 0px; outline: 0px; font-size: 15px; font-family: Helvetica, Arial, sans-serif; vertical-align: baseline; -webkit-font-smoothing: subpixel-antialiased; line-height: 19.984375px; color: rgb(0, 0, 0);"> With the <a href="http://reviews.cnet.com/iphone-5s/" section="luke_topic" style="margin: 0px; padding: 0px; border: 0px; outline: none; font-size: inherit; font-style: inherit; font-family: inherit; vertical-align: baseline; color: rgb(41, 100, 191); text-decoration: none; cursor: pointer;">iPhone 5S</a> now available, the onslaught of new cases for it is in full swing. True, many of the "old" <a href="http://www.cnet.com/iphone-5/" section="luke_topic" style="margin: 0px; padding: 0px; border: 0px; outline: none; font-size: inherit; font-style: inherit; font-family: inherit; vertical-align: baseline; color: rgb(41, 100, 191); text-decoration: none; cursor: pointer;">iPhone 5</a> cases (several of which are still in this round up) fit the new iPhone 5S just fine because the iPhone 5's design is very close to the iPhone 5S'.</p> <p style="margin: 10px 0px 0px; padding: 0px; border: 0px; outline: 0px; font-size: 15px; font-family: Helvetica, Arial, sans-serif; vertical-align: baseline; -webkit-font-smoothing: subpixel-antialiased; line-height: 19.984375px; color: rgb(0, 0, 0);"> However, there are two key differences. First, the 5S has a fingerprint sensor, which means any iPhone 5 case that covers the home button technically isn't compatible with the iPhone 5S (you can, of course, not use the fingerprint sensor, but if you want to, you don't want anything covering the home button). Many "tough" cases are affected by the addition of the fingerprint sensor.</p> <p style="margin: 10px 0px 0px; padding: 0px; border: 0px; outline: 0px; font-size: 15px; font-family: Helvetica, Arial, sans-serif; vertical-align: baseline; -webkit-font-smoothing: subpixel-antialiased; line-height: 19.984375px; color: rgb(0, 0, 0);"> Second, Apple has added an additional LED flash to the 5's back camera. As long as the hole on the back of an iPhone 5 case is big enough to accommodate the dual flashes, it should be compatible. But it's important to note that the ring around the camera also needs to be black. Word is that if it's another color, it could confuse the flash's sensor, which is designed to optimize the color of the flash to bring out the best skin tones in your subjects.</p>
แต่ผมต้องการให้ออกมาแบบนี้ครับ
|
 |
 |
 |
 |
Date :
2013-10-03 20:16:52 |
By :
เดี่ยว |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
Code (PHP)
echo htmlspecialchars_decode($message) ;
echo html_entity_decode($message) ;
|
 |
 |
 |
 |
Date :
2013-10-03 21:43:53 |
By :
randOmizE |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
|
|