<?php
$dopage->GetPage("SELECT * FROM `#@__unameym` WHERE uname='$c_uname' ORDER BY id DESC");
if ($dosql->GetTotalRow() > 0)
?>
<?php
$row3=[];
while($row = $dosql->GetArray())
{
$row3 =array( $row['ypname']);
$row5 = array(end($row3));
?>
<?php
var_dump ($row5);
无忌哥哥2018-07-07 14:29:14
Use a for loop to obtain each value through the subscript method, i=0;i<count($row);i++, then loop through the query and merge it into an array.