I am a novice. I hope the boss can help solve
. Code:
foreach ($row as $key= > $str)
{
if ($key > 0)
{
$img = substr($str, 0);
$img = preg_match_all("/<img[^>]*>/", $img,$pic);
foreach ($pic[0] as $v)
{
$v = substr($v,strpos($v,"src")+5);
$databaseImg = [];
$databaseImg[$key][]= substr($v,0,strpos($v," "));
}
}
}