Get data dynamically? Path splicing?

console.log (pic) / / merchandise address
this is the address of the printed picture http://www.zhani.com//Uploads.
$(".tu img"). Attr (" src","+pic+");
how to put pic into it, ask for great help, try many ways are not correct

Mar.01,2021

$('.tu img').attr('src',pic);

$('.tu img').attr('src',pic);

$('img'). Src =' https://tpc.googlesyndication.'

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b30841-2b269.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b30841-2b269.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?