v_content=[
<?php
$selectnews="SELECT * FROM news ORDER BY date DESC LIMIT 0,5";
$resultnews=mysql_query($selectnews) or die(mysql_error());
while($obj=$resultnews)
{
echo "['".$obj->link."','".$obj->dutch."','_top'],";
}
?>
['','','_top']
];
v_content=[
<?php
$selectnews="SELECT * FROM news ORDER BY date DESC LIMIT 0,5";
v_content=[<?php
$selectnews="SELECT * FROM news ORDER BY date DESC LIMIT 0,5";
$resultnews=mysql_query($selectnews) or die(mysql_error());
while($obj=$resultnews)
{
echo "['".$obj->link."','".$obj->dutch."','_top'],";
}
?>['','','_top']];
v_content=[<?php
$selectnews="SELECT * FROM news ORDER BY date DESC LIMIT 0,5";
aha, zo leer je nog eens wat;-)
maar mijn script duurt ong. een half uur om te laden ofzo, en dan gebeurt er nog niets:|
en het ligt niet aan de host, maar wel aan dat stukje code...
v_content=[<?php
$selectnews="SELECT link,dutch FROM news ORDER BY date DESC LIMIT 0,5";
$resultnews=mysql_query($selectnews) or die(mysql_error());
while($obj=mysql_fetch_object($resultnews))
{
echo "['".$obj->link."','".$obj->dutch."','_top'],";
}
?>['','','_top']];
v_content=[<?php
$selectnews="SELECT link,dutch FROM news ORDER BY date DESC LIMIT 0,5";