INSERT INTO coordinates click = ".$_POST[x]."
coordinates
Wat is dat voor faalquery? 

Oh oops
Ik zat met update en insert door elkaar 
INSERT INTO coordinates (click) VALUES (".$_POST[x].")
Ik zat met update en insert door elkaar 
INSERT INTO coordinates (click) VALUES (".$_POST[x].")
[COLOR= #0000BB]<?php[/COLOR]
[URL="http://www.php.net/error_reporting"]error_reporting[/URL][COLOR= #007700]([/COLOR]E_ALL[COLOR= #007700]);[/COLOR]
[URL="http://www.php.net/include"]include[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"config.php"[/COLOR][COLOR= #007700]);[/COLOR]
[URL="http://www.php.net/if"]if[/URL][COLOR= #007700]([/COLOR][URL="http://www.php.net/isset"]isset[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]x[/COLOR][COLOR= #007700]]))
{[/COLOR]
[URL="http://www.php.net/mysql_query"]mysql_query[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"INSERT INTO coordinates (click) VALUES ("[/COLOR][COLOR= #007700].[/COLOR][COLOR= #0000BB]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]x[/COLOR][COLOR= #007700]].[/COLOR][COLOR= #DD0000]")."[/COLOR]x[COLOR= #DD0000]".mysql_real_escape_string($_POST[y])."") or die(mysql_error());
}
?>
<style>body {background: url(/gamebg.PNG); }
div { padding: -10px; }</style>
<script src="http://code.jquery.com/jquery-1.4.4.js"></script>
<div id="log"></div>
<script>$(document).bind([/COLOR]mousemove[COLOR= #DD0000],function(e){
$("#log").text("e.pageX: " + e.pageX + ", e.pageY: " + e.pageY);
});
$(document).click(function(e){
$.post([/COLOR]index[COLOR= #007700].[/COLOR]php[COLOR= #007700]?[/COLOR]geklikt[COLOR= #DD0000], {[/COLOR]x[COLOR= #DD0000]: e.pageX, [/COLOR]y[COLOR= #007700]:[/COLOR] e[COLOR= #007700].[/COLOR]pageY[COLOR= #007700]}, function([/COLOR]d[COLOR= #007700]){[/COLOR]
[COLOR= #FF8000]// D is wat er dan op de pagina staat[/COLOR]
[COLOR= #007700]});});[/COLOR]
</script>
<table border="0">
<tr> zo?
[COLOR= #0000BB]<?php[/COLOR]
[URL="http://www.php.net/error_reporting"]error_reporting[/URL][COLOR= #007700]([/COLOR]E_ALL[COLOR= #007700]);[/COLOR]
[URL="http://www.php.net/include"]include[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"config.php"[/COLOR][COLOR= #007700]);[/COLOR]
[URL="http://www.php.net/if"]if[/URL][COLOR= #007700]([/COLOR][URL="http://www.php.net/isset"]isset[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]x[/COLOR][COLOR= #007700]]))
{[/COLOR]
[URL="http://www.php.net/mysql_query"]mysql_query[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"INSERT INTO coordinates (click) VALUES ("[/COLOR][COLOR= #007700].[/COLOR][URL="http://www.php.net/mysql_real_escape_string"]mysql_real_escape_string[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]x[/COLOR][COLOR= #007700]]).[/COLOR][COLOR= #DD0000]"x"[/COLOR][COLOR= #007700].[/COLOR][URL="http://www.php.net/mysql_real_escape_string"]mysql_real_escape_string[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]y[/COLOR][COLOR= #007700]]).[/COLOR][COLOR= #DD0000]""[/COLOR][COLOR= #007700])[/COLOR] or [URL="http://www.php.net/die"]die[/URL][COLOR= #007700]([/COLOR][URL="http://www.php.net/mysql_error"]mysql_error[/URL][COLOR= #007700]());
}[/COLOR]
?>
<style>body {background: url(/gamebg.PNG); }
div { padding: -10px; }</style>
<script src="http://code.jquery.com/jquery-1.4.4.js"></script>
<div id="log"></div>
<script>$(document).bind(mousemove,function(e){
$("#log").text("e.pageX: " + e.pageX + ", e.pageY: " + e.pageY);
});
$(document).click(function(e){
$.post(index.php?geklikt, {x: e.pageX, y: e.pageY}, function(d){
// D is wat er dan op de pagina staat
});});
</script>
<table border="0">
<tr> Ik probeer het zo De server ligt er weer uit

Pm me, misschien kan ik je helpen
We hebben iets geprobeerd is Helaas niet gelukt.
weet iemand het?
weet iemand het?