I am trying to get a value of row with a specific value of a mySQL DB.
This is how my row looks like
row | email | uuid | device
1 | [email protected] |xxxxxx|iPhone
2 | [email protected]|yyyyyy|iPod
So for example I want to get the uuid in row 2, I have the email.
This is how my mysql_query looks like:
$result = mysql_query("SELECT * FROM users WHERE email = '{$email}'");
echo(mysql_result($result, 0)); #0 is email, but I need uuid, so 1
but I only can get the email.
Does anyone know how to get the uuid?