Hi can I insert a img tag in flexigrid ? I’ve a folder with jpeg files ...
thanks 😊
P.S.
I found a solution 😛 (here the code)
while ($row = mysql_fetch_array($result)) {
$user_photo=(file_exists(PHOTO_FILE_PATH.$row['ute_id'].'_first.jpg'))?PHOTO_FILE_PATH.$row['ute_id'].'_first.jpg':PHOTO_FILE_PATH.'default.jpg';
if ($rc) $json .= ",";
$json .= "\n{";
$json .= "id:'".$row['ute_id']."',";
$json .= "cell:[";
//$json .= "'".$row['ute_id']."'";
$json .= "'".addslashes(''.$user_photo.')."'"; //<---------- line solution ...
$json .= ",'".$row['ute_cognome'].' '.$row['ute_nome']."'";
$json .= ",'".addslashes($row['bar_nome'])."'";
$json .= ",'".addslashes($row['bar_cabine'])."'";