<?php
$love = "I love you!";
$string1 = "慕课网,$love";
$string2 = '慕课网'.$love;
echo $string1;
echo "<br />";
echo $string2;
?>
$love = "I love you!";
$string1 = "慕课网,$love";
$string2 = '慕课网'.$love;
echo $string1;
echo "<br />";
echo $string2;
?>
2019-07-01
$row = $no%$maxLine?$no%$maxLine:$maxLine;
没人发现这行代码出错了吗?应该是
$row = $no%$maxLine?$maxLine:$no%$maxLine;
没人发现这行代码出错了吗?应该是
$row = $no%$maxLine?$maxLine:$no%$maxLine;
2019-07-01
最赞回答 / carol_PHP
一共四步:前两步,按照老师视频里面的操作:在httpd.conf里面更改两处:DocumentRoot "f:/PHP"<Directory "f:/PHP">后两步,在httpd-vhosts.conf里面也要更改两处:DocumentRoot "f:/PHP" <Directory "f:/PHP">更改这四处后,重启即可。
2019-06-27
最新回答 / 慕粉152532571
$file_handle = fopen("/data/webroot/resourcr/php/f.txt","r") $file_handle = fopen("/data/webroot/resourcr/php/f.txt","r") 1.resourcr 改为 resource2. 少了 ‘;’
2019-06-27