Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/html/87.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Php 如何查找和更新表的内容?_Php_Html_Smarty - Fatal编程技术网

Php 如何查找和更新表的内容?

Php 如何查找和更新表的内容?,php,html,smarty,Php,Html,Smarty,我目前正在帮助一位朋友的网站,我是通过SVN这样做的,我一直在为他更新信息,但是我遇到了一个日期列表,在那里我找不到源信息,所以我无法更新它 下面是我认为指向我要更新的代码$item.ClassHours如何找到源信息的位置 <table class="stripe-table" border="0" cellspacing="0" cellpadding="0"> <tbody> <tr> <th>

我目前正在帮助一位朋友的网站,我是通过SVN这样做的,我一直在为他更新信息,但是我遇到了一个日期列表,在那里我找不到源信息,所以我无法更新它

下面是我认为指向我要更新的代码
$item.ClassHours
如何找到源信息的位置

<table class="stripe-table" border="0" cellspacing="0" cellpadding="0">
    <tbody>
        <tr>
            <th>Class Choice</th>
            <th class="clear-bg">Schedule</th>
            <th>Class Hours</th>
            <th class="clear-bg">Level</th>
        </tr>
        <volist name="article.content_complex.part_time" id="item">
            <notempty name="item.Schedule">
                <tr>
                    <notempty name="item.ClassChoice">
                        <th <notempty name="item.ClassChoice_rowspan">rowspan="{$item.ClassChoice_rowspan}"</notempty> >{$item.ClassChoice}</th>
                    </notempty>
                    <td>{$item.Schedule}</td>
                    <notempty name="item.ClassHours">
                        <th <notempty name="item.ClassHours_rowspan">rowspan="{$item.ClassHours_rowspan}"</notempty> >{$item.ClassHours}</th>
                    </notempty>
                    <notempty name="item.Level">
                        <td <notempty name="item.Level_rowspan">rowspan="{$item.Level_rowspan}"</notempty> >{$item.Level}</td>
                    </notempty>
                </tr>
            </notempty>
        </volist>
    </tbody>
</table>

班级选择
日程
上课时间
水平仪
{$item.ClassChoice}
{$item.Schedule}
{$item.ClassHours}
{$item.Level}

您的要求针对您的站点非常具体。您必须在所有页面中搜索它。一种方法是在文本编辑器(最好是记事本++)中打开所有文件,然后单击CTRL+F,然后在所有文档中搜索该术语。如果它们都打开了,它应该会弹出。使用netbeans可以搜索整个项目。这也是一个不错的主意你知道它会保存为什么类型的文件吗?