News Archive$sqlquery = "select * from nieuws where nw_websites='" . $siteid . "' and nw_active='ja' order by nw_date desc"; $result = mysqli_query( $con, $sqlquery ); while ( $myrow = mysqli_fetch_array( $result ) ) { $nid = ( $myrow[ 'nw_id' ] ?? '' ); $nwtit = ( $myrow[ 'nw_titel' ] ?? '' ); $nwpagenameurl = strtolower( $nwtit ); $nwpagenameurl = str_replace( ' ', '-', $nwpagenameurl ); $nwpagenameurl = str_replace( '%', 'pct', $nwpagenameurl ); if ( $nid == $newsid ) { echo "" . $nwtit . "" . ""; } else { echo "" . $nwtit . "" . " "; } } ?> |