Re: [請益] 把html用成echo
※ 引述《cjoe (cjoe)》之銘言:
: ※ 引述《waneblade (HSNU1001)》之銘言:
: 43...
: : .
: : <input type="submit" name="Submit" value="<? echo $test >">
: <input type="submit" name="Submit" value="<?=$test?>">
: ^^^^^^^^^^
: 這樣打也可以直接輸出
: 跟打<?php echo $test; ?>
: 意思一樣。
: : .
: : .
: : 大家會用哪一種方法?
可以用template的方式~
google search :smarty、PHPLIB template、Fast template
--
█████████████████
█ ████████████████
█████████████████
█ ████████████████
█████████████████
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 203.73.222.220
→
01/01 07:45, , 1F
01/01 07:45, 1F
討論串 (同標題文章)
本文引述了以下文章的的內容:
完整討論串 (本文為第 7 之 7 篇):