Search session user record in mysql

0

I have a follower exchange system, where the user irar logs on the panel and use his list then created a texarea so he can put his list which is in the email @ provider: password format and then save the data in the database table

and after loading 100% and inserting the records in the database I will call a page to check if the login was valid or not in Instagram and if it is worth changing the value of the tested column (N = Unchecked, B = Valid login R = Bad login)

The php that will check if the login is good or bad and it gets the email value and password of the database and goes tested until all the registration that the user subscribes in texarea completes.

My question and how can I do this without affecting other users, each user will only be able to check the list that is from him that irar verify who is by the user column.

Thank you ...

    
asked by anonymous 25.03.2015 / 00:34

1 answer

-1

Do you want to check whether the list is good, bad, or not checked? I did not quite understand what you meant, but come on.

Make a fetch_array to get the string of the field "tested":

$q = mysql_query("SELECT testados FROM tabela");
$array = mysql_fetch_array($q);

Now just make an IF system to see if it's in the value you want, that's what I understood ...

    
25.03.2015 / 02:22