Home > Backend Development > PHP Tutorial > 大伙来看看

大伙来看看

WBOY
Release: 2016-06-13 12:45:38
Original
893 people have browsed it

大家来看看

<?<br />
	function printColored($Text, $Color="black")		//定义function函数<br />
	{<br />
		print("<FONT COLOR=\"$Color\">$Text</FONT>");	//获取字符串的内容和颜色<br />
	}	
Copy after login


\"$Color\"为什么要用反斜杠呢?

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template