Thomisback Posted April 2, 2008 Share Posted April 2, 2008 Never mind got it working Link to comment https://forums.phpfreaks.com/topic/99147-solved-mysql-select-query/ Share on other sites More sharing options...
uniflare Posted April 2, 2008 Share Posted April 2, 2008 erm, what was the problem and what was the solution? (could help someone else ) Link to comment https://forums.phpfreaks.com/topic/99147-solved-mysql-select-query/#findComment-507276 Share on other sites More sharing options...
Thomisback Posted April 2, 2008 Author Share Posted April 2, 2008 I had a MySQL query: $dbres = mysql_query("SELECT *,UNIX_TIMESTAMP(`signup`) AS `signup` FROM `gebruikers` WHERE `login`='{$_SESSION['login']}' AND gamename='$prefix'"); It did not work because I put gamename='$prefix' at the end, it should have been like this: $dbres = mysql_query("SELECT *,UNIX_TIMESTAMP(`signup`) AS `signup` FROM `gebruikers` WHERE gamename='$prefix' AND gamename='$prefix' AND `login`='{$_SESSION['login']}'"); Link to comment https://forums.phpfreaks.com/topic/99147-solved-mysql-select-query/#findComment-507294 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.