dit is de foutcode....
dit is mijn php code....
wat is er mis ?
hij mag trouwens ook geen foutmedling geven als er geen rijen zijn gevonden.... iemand een tip (A)
Code:
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'kamp ORDER BY id DESC' at line 1
dit is mijn php code....
PHP:
$linkinbox = mysql_connect("localhost", "$username", "$password");
mysql_select_db("$database", $linkinbox );
$resultinbox = mysql_query("SELECT * FROM berichten_inbox WHERE ontvanger = " . $_SESSION['user_name'] . " ", $linkinbox );
$num_rowsinbox = mysql_num_rows($resultinbox );
$resultoutbox = mysql_query("SELECT * FROM berichten_inbox WHERE verzender = " . $_SESSION['user_name'] . " ", $linkinbox );
$num_rowsoutbox = mysql_num_rows($resultoutbox );
wat is er mis ?
hij mag trouwens ook geen foutmedling geven als er geen rijen zijn gevonden.... iemand een tip (A)
Laatst bewerkt: