Jump to content

Archived

This topic is now archived and is closed to further replies.

kevloink

Php/sql select

Recommended Posts

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.

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.