Show what's in your database, and how your query in PHP looks (code).
pritaeas
Posting Prodigy
9,286 posts since Jul 2006
Reputation Points: 1,173
Solved Threads: 1,457
Skill Endorsements: 86
In the table I have the following (sorry, I'm not entirely sure what I should show you)
Show some sample data (what's in the table), and clearly state what you want as output.
pritaeas
Posting Prodigy
9,286 posts since Jul 2006
Reputation Points: 1,173
Solved Threads: 1,457
Skill Endorsements: 86
You'll need to copy for example the CheckLoginInDB function. The query you'll need would be this I guess:
function getInvestment($username)
{
// open database, etc.
$qry = "SELECT * FROM fgusers3 WHERE username='$username'";
// get the result and do something with it.
}
pritaeas
Posting Prodigy
9,286 posts since Jul 2006
Reputation Points: 1,173
Solved Threads: 1,457
Skill Endorsements: 86