Ik heb een bestand aangemaakt met php... maar om de een of andere reden haalt hij geen nieuwe data uit mijn databases, dit doet hij pas wanneer ik mijn cookies leeggooi... wat nu?
NOTE: Dit gebeurt alleen in IE8 en niet in Mozilla Firefox... echt maf.
Edit: aparte file aangemaakt... zelfde script erin en er gebeurt nog steeds hetzelfde
[COLOR= #0000BB]<?php[/COLOR]
[URL="http://www.php.net/include"]include[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]../connect.php[/COLOR][COLOR= #007700]);[/COLOR]
[COLOR= #0000BB]$result1[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_query"]mysql_query[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"SELECT * FROM ... ORDER BY .... DESC LIMIT 0,5"[/COLOR][COLOR= #007700]);[/COLOR]
?>
<table id="chat" width="500" height = "140" cellspacing="5" cellpadding="0">
[COLOR= #0000BB]<?php[/COLOR]
[URL="http://www.php.net/while"]while[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$r[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_fetch_array"]mysql_fetch_array[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$result1[/COLOR][COLOR= #007700]))
{[/COLOR]
[COLOR= #0000BB]$time[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #0000BB]$r[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]"time"[/COLOR][COLOR= #007700]];[/COLOR]
[COLOR= #0000BB]$id[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #0000BB]$r[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]"id"[/COLOR][COLOR= #007700]];[/COLOR]
[COLOR= #0000BB]$message[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #0000BB]$r[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]"message"[/COLOR][COLOR= #007700]];[/COLOR]
[COLOR= #0000BB]$name[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #0000BB]$r[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]"name"[/COLOR][COLOR= #007700]];[/COLOR]
[URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]<tr>[/COLOR][COLOR= #007700];[/COLOR]
[URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]<td>[/COLOR][COLOR= #007700].[/COLOR][COLOR= #0000BB]$time[/COLOR][COLOR= #007700].[/COLOR][COLOR= #DD0000]</td><td>[/COLOR][COLOR= #007700].[/COLOR][COLOR= #0000BB]$name[/COLOR][COLOR= #007700].[/COLOR][COLOR= #DD0000]:</td><td>[/COLOR][COLOR= #007700].[/COLOR][COLOR= #0000BB]$message[/COLOR][COLOR= #007700].[/COLOR][COLOR= #DD0000]</td>[/COLOR][COLOR= #007700];[/COLOR]
[URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]</tr>[/COLOR][COLOR= #007700];
}[/COLOR]
?>
</table>
[COLOR= #0000BB]<?php[/COLOR]
?> NOTE: Dit gebeurt alleen in IE8 en niet in Mozilla Firefox... echt maf.
Edit: aparte file aangemaakt... zelfde script erin en er gebeurt nog steeds hetzelfde



