刚接触PHP,很多东西不懂,看的我头只大
1.$templates['contents_header'] = '
<table class="maintable">
<tr>
<th>{l_FAQ}</th>
</tr>
<tr>
<td id="faq-contents">
';
['contents_header']是templates的参数吗? {l_FAQ}是个什么东东,是全局变量吗?
1.$templates['contents_header'] = '
<table class="maintable">
<tr>
<th>{l_FAQ}</th>
</tr>
<tr>
<td id="faq-contents">
';
['contents_header']是templates的参数吗? {l_FAQ}是个什么东东,是全局变量吗?
{l_FAQ}是替换内容的标志位
<table class="maintable">
<tr>
<th>{l_FAQ}</th>
</tr>
<tr>
<td id="faq-contents">'