如何使用php从数据库中打印值 [英] How to print values from database as it is using php

查看:232
本文介绍了如何使用php从数据库中打印值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在数据库中存储了一个文本区域值.在它们之间有三段有空格.当我打印值时,它会忽略段落之间的空格.我检查了数据库,该段落之间是否有空格.我要显示数据库中的值,在段落之间留有空格.

I have a text area value stored in database . It has three paragraph having space in betwwen them. When i print the values it is omitting the space between the paragraph. I checked the database it is having space between the paragraph. I want to display the value as it is in database with space between the paragraph.

推荐答案

由于您未提供任何示例数据或代码,因此很难说,但是您可能需要将回车符替换为
才能在网络上显示.
Since you did not provide any sample data or code it is hard to say but you likely need to replace the carriage returns with
for it to show in the web.


这篇关于如何使用php从数据库中打印值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆