Link to home
Start Free TrialLog in
Avatar of j_byron
j_byron

asked on

check if $var is in a mysql table

If I have a PHP variable and want to check if it is in a row of a mysql table, how do I do this?

e.g. if ($variable '''is in table''' && some other constraints)
{
"INSERT .............";
}
ASKER CERTIFIED SOLUTION
Avatar of ldbkutty
ldbkutty
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of j_byron
j_byron

ASKER

Thanks