代码大概样式如下
<form class="mt20" method="post" action="">
<input id="data_html" type="hidden" name="data">
<input type="hidden" name="action" value="csv_out">
<input class="btn btn-primary" type="submit" value="CSVで保存">
</form>
<div id="div_html">
<table class="table">
<thead>
<tr>
<th><?php echo $word->get('lesson_id'); ?></th>
<th><?php echo $word->get('client_name'); ?></th>
<th><?php echo $word->get('app_id'); ?></th>
<th><?php echo $word->get('app_name'); ?></th>
<th><?php echo $word->get('ymd'); ?></th>
<th><?php echo $word->get('time'); ?></th>
<th><?php echo $word->get('lesson_form'); ?></th>
<th><?php echo $word->get('lesson_type'); ?></th>
<th><?php echo $word->get('classroom'); ?></th>
<th><?php echo $word->get('tutor'); ?></th>
<th></th>
</tr>
</thead>
<tbody>
<?php foreach ($list as $info) : ?>
<tr>
<td>
<a href=" >/assign/conf?id=<?php echo $info->id; ?>&back_to=assign_index"><?php echo $info->id; ?></a >
<?php if ($info->lesson_reserve_request_id) : ?>
<br>[仮]No.<?php echo $info->lesson_reserve_request_id; ?>
<?php endif; ?>
</td>
<td><a href="<?php echo get_url_top(); ?>/client/conf?id=<?php echo $info->client_id; ?>"><?php echo $info->client_name; ?></a ></td>
<td><a href="<?php echo get_url_top(); ?>/app/conf?id=<?php echo $info->app_id; ?>" target="_blank"><?php echo $info->app_id; ?></a ></td>
<td><a href="<?php echo get_url_top(); ?>/app/conf?id=<?php echo $info->app_id; ?>" target="_blank"><?php echo $info->lesson_name; ?></a ></td>
<td><?php echo $info->date; ?></td>
<td><?php echo $i
、可否请教一个样式 比如在csv之中去除掉某一行td但在页面上依然显示
尝试了点击csv按钮判断之类的没有效果。
感谢大家的帮助与解答