PHP / MYSQL Question
#1

Hello,

I'm in the process of creating a UCP, I have it so I can enter my ingame details and it logs me in, I'm looking at doing a profile where I can view stats,

For example, If I want to show the IP, I get the table with mysql_query.

Is it something like this?

Код:
$rIP = mysql_query("SELECT * FROM Accounts WHERE Username = '" . $_SESSION['username'] . "'");
How would I get it to display the IP like var_dump?
Reply


Messages In This Thread
PHP / MYSQL Question - by acade - 30.01.2013, 18:57
Re: PHP / MYSQL Question - by RedCrossER - 30.01.2013, 19:03
Re: PHP / MYSQL Question - by acade - 30.01.2013, 19:04
Re: PHP / MYSQL Question - by acade - 30.01.2013, 19:12
Re: PHP / MYSQL Question - by KingHual - 31.01.2013, 05:16
Re: PHP / MYSQL Question - by Aldo. - 31.01.2013, 09:01
Re: PHP / MYSQL Question - by Sinner - 31.01.2013, 09:02
Re: PHP / MYSQL Question - by Djole1337 - 31.01.2013, 11:07
Re: PHP / MYSQL Question - by Sinner - 31.01.2013, 12:13

Forum Jump:


Users browsing this thread: 1 Guest(s)