<?php
error_reporting(E_ALL | E_STRICT);
ini_set('display_errors', 1);
if(isset($_GET['lan'])){$lang=$_GET['lan'];}else{$lang='NL';}
include_once("new/includes/config.php");
include_once("new/includes/variables.php");
include_once("new/includes/index.php");
$qry = "SELECT id, title, path, startDate, endDate, volg, active FROM podium_banners WHERE startDate <= CURDATE() AND endDate >= CURDATE() AND active=1 ORDER BY volg ASC";
?>
de website geeft dit als resultaat:
= CURDATE() AND active=1 ORDER BY volg ASC";Het lijkt erop dat hij moeite heeft met <
De broncode van de website geeft dit aan:
<?php
error_reporting(E_ALL | E_STRICT);
ini_set('display_errors', 1);
if(isset($_GET['lan'])){$lang=$_GET['lan'];}else{$lang='NL';}
include_once("new/includes/config.php");
include_once("new/includes/variables.php");
include_once("new/includes/index.php");
//banner
$qry = "SELECT id, title, path, startDate, endDate, volg, active FROM podium_banners WHERE startDate <= CURDATE() AND endDate >
?>
Wat volgens mij betekend dat hij het bestand niet als php bestand behandeld. Het bestand heet index.php en staat in de public_html
Doe ik iets heel doms of moet ik een instelling in mijn hostingpakket maken?
Edit: ik doe iets fout in dit topic. de tags
en doen het niet goed.