프리미엄 WP 테마 플러그인 무료 다운로드

Reply To: bbpress로 만든 게시판입니다

질문 제출 Forums 자유게시판 bbpress로 만든 게시판입니다 Reply To: bbpress로 만든 게시판입니다


Word Cracker
Keymaster

echo
공백을 여러 개 삽입
echo “&nbsp:&nbsp:”; // 콜론을 세미콜론으로

echo examples

// You can use variables inside of an echo statement
$foo = “foobar”;
$bar = “barbaz”;

echo “foo is $foo”; // foo is foobar

// You can also use arrays
$baz = array(“value” => “foo”);

echo “this is {$baz[‘value’]} !”; // this is foo !

// Some people prefer passing multiple parameters to echo over concatenation.
echo ‘This ‘, ‘string ‘, ‘was ‘, ‘made ‘, ‘with multiple parameters.’, chr(10);
echo ‘This ‘ . ‘string ‘ . ‘was ‘ . ‘made ‘ . ‘with concatenation.’ . “\n”;

This directive also affected the shorthand <?= before PHP 5.4.0, which is identical to <? echo. Use of this shortcut required short_open_tag to be on. Since PHP 5.4.0, <?= is always available.

http://php.net/manual/en/function.echo.php