我需要' isp_value'
的帖子值Do While Len(FileName) > 0
'Calculate the next row to be populated for all columns, based on the last
'used cell in column A
'(I used column A, but pick whatever destination column will always be
'populated in every workbook.)
With CopyToWs
NextRow = .Cells(.Rows.Count, "A").End(xlUp).Row + 1
End With
'Process this workbook
Set wb = Workbooks.Open(CopyFromPath & FileName)
With wb.Sheets("Open Issue Actions")
lcol = .Cells(1, .Columns.Count).End(xlToLeft).Column
For c = 1 To lcol
'...
With CopyToWs
If Not myHeader Is Nothing Then
myCol = myHeader.Column
'NextRow = .Cells(Rows.Count, myCol).End(xlUp).Row + 1
.Cells(NextRow, myCol).PasteSpecial xlPasteValues
Application.CutCopyMode = False
Set myHeader = Nothing
End If
End With
nxt:
'...
我得到了isp_hidden_value []的隐藏值,但没有得到isp_value []
的值while ($result = mysql_fetch_array($isp_tab))
{
$isp_value = $result[0];
echo '<input class="tablinks ion-social-rss" type="submit" name="isp_value[]" value="'.$isp_value.'">';
echo '<input type="hidden" name="isp_hidden_value[]" value="'.$isp_value.'">';
}
我需要从isp_value
使用$data = $_POST['isp_hidden_value'];
foreach($data as $isp)
{
echo "isp_hidden =".$isp; //this echo works and show all the values in a row
}
if(isset($_POST['isp_value'])) //if condition fails isp_value is not set(!isset)
{
//$isp = $_POST['isp_value'];
//echo 'isp = '.$isp;
print_r($_POST['isp_value']);
}
来自name =&#39; hidden_value []&#39;的行中的所有值显示但不是来自name =&#39; isp_value []&#39;的单个提交值。
<?php var_dump($_POST);?>
任何人都可以帮我解决这个问题