Hi,
The title was probably kind of vague. Basically, I have a query that gets all domains assigned to a username from a specific table:
[php]SELECT domain
FROM domains
WHERE username = ‘" . $_SESSION[“myusername”] . "’[/php]
So basically if you’re logged in and the username is stored in the session, it tries to match the username with any domains assigned to that name. If the table was:
[table]
[tr]
[td]Domain[/td][td]Username[/td]
[/tr]
[tr]
[td]testdomain1.com[/td][td]user143[/td]
[/tr]
[tr]
[td]testdomain2.com[/td][td]user143[/td]
[/tr]
[/table]
I would want to get both of those domains into separate variables with PHP. I just need to know how to accomplish this. Thank you!