一个简单问题,送分题. 你要输出<table width=\"300\" height=100%>吗?echo "<table width=\"300\" height=100%>";得了 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 echo可以.但要是用printf呢?后头那个怎么转义? 函数:printf() 字符串处理函数库printf输出格式化字符串。语法: int printf(string format, mixed [args]...);返回值: 整数函数种类: 资料处理内容说明 本函数依参数 format 指定的内容格式将字符串格式化。格式的细节可以参考 sprintf()。如果一定要用printf输出,代码如下:$str = "<table width=\"300\" height=100%>";printf("%s" , $str); 求一个php函数 window.open 弹出页面后,父页面上移 ii7+php5.3.3 phpinfo() 可以显示但是无法连接数据库 preg_replace_callback 回调函数能不能使用多个参数? url 接值 PHP商城网站 视频推荐 请教各们高手,apache配置的问题。 新手问题交流,就不麻烦高手了。 在线人数的实现。 php调用java接口传递json数据问题 帮帮我! phplib怎么可以快速入门。
字符串处理函数库
printf
输出格式化字符串。
语法: int printf(string format, mixed [args]...);
返回值: 整数
函数种类: 资料处理
内容说明
本函数依参数 format 指定的内容格式将字符串格式化。格式的细节可以参考 sprintf()。
如果一定要用printf输出,代码如下:
$str = "<table width=\"300\" height=100%>";
printf("%s" , $str);