PHP TEST in DIVI

PHP TEST in DIVI

'; echo '
Steuerung
'; echo ' ';echo ' ';
echo ' Land
'; echo '
Segelnr.
'; echo '
Bootsname
'; echo '
St_Vorname
'; echo '
St_Name
'; echo '
St_Club
'; echo '
Crew_Vorname
'; echo '
Crew_Name
'; echo '
'; $feldnamen=array('{s','unread','Land', 'SegleNr', 'Bootsname', 'St_Vorname', 'St_Name', 'St_Club', 'Crew_Vorname', 'Crew_Name'); $feldersetz=array('','', '', '', '', '', '', '', '', ''); $escape = "\\"; $delim= ';'; $encl= '"'; $sql = $wpdb->get_results("SELECT * FROM ".$wpdb->prefix."db7_forms WHERE 1"); foreach ( $sql as $vehicle ) { $inhalt= str_replace($feldnamen, $feldersetz, $vehicle->form_value); $Out= str_replace('„“ „“','', $inhalt); $arrie= str_getcsv($Out, $delim, $encl, $escape); //echo $arrie[5]; echo ' ';
// foreach ( $arrie as $Teil ) {
$feld=explode(":",$arrie[3]); echo '
'; echo substr($feld[2],1,-1); echo '
';
$feld=explode(":",$arrie[5]); echo '
'; echo substr($feld[2],1,-1); echo '
';
$feld=explode(":",$arrie[7]); echo '
'; echo substr($feld[2],1,-1); echo '
';
$feld=explode(":",$arrie[9]); echo '
'; echo substr($feld[2],1,-1); echo '
';
$feld=explode(":",$arrie[11]); echo '
'; echo substr($feld[2],1,-1); echo '
';
$feld=explode(":",$arrie[13]); echo '
'; echo substr($feld[2],1,-1); echo '
';
$feld=explode(":",$arrie[15]); echo '
'; echo substr($feld[2],1,-1); echo '
';
$feld=explode(":",$arrie[17]); echo '
'; echo substr($feld[2],1,-1); echo '
';
// } echo '
'; } echo ' '; //print_r($arrie); //vardump($arrie); ?>