kevloink Posted October 23, 2006 Share Posted October 23, 2006 I am trying to do this:[code]SELECT user_points FROM `phpbb_users` WHERE username='kevloink'[/code]but in php, and then display the result. I have been editing my code for about 45 mins. Its 1:47 am, I have to go to school at 8 am, and I still have homework to do so I decided instead of wasting my time I would ask for help. Link to comment https://forums.phpfreaks.com/topic/24812-phpsql-select/ Share on other sites More sharing options...
JasonLewis Posted October 23, 2006 Share Posted October 23, 2006 you want to get the data out. like this:[code=php:0]$user_points = mysql_result(mysql_query("SELECT `user_points` FROM `phpbb_users` WHERE `username`='kevloink'"),0);[/code]~jay Link to comment https://forums.phpfreaks.com/topic/24812-phpsql-select/#findComment-113035 Share on other sites More sharing options...
kevloink Posted October 23, 2006 Author Share Posted October 23, 2006 THANK YOU! ;D ;D ;D Link to comment https://forums.phpfreaks.com/topic/24812-phpsql-select/#findComment-113105 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.