I have a PHP site using a MYsql database. I need a small script that i can execute from my php myadmin panel to achieve the following result described below.
This is simple task for someone with the right skills. Please post the script to the message board. The most efficient script with best directions will win this bid.
I want to populate Field A in my Mysql Database based on values in Field B in the same database.
Field B is currently populated with values from 1 to 250.
Field A must be populated based on which array Field B lies within. I have included the arrays below:
$Array1 = array("1", "3", "41", "135")
$Array2 = array("11", "12", "15", "19", "22", "27", "33", "43", "56", "61", "62", "84", "85", "87", "92", "104", "131", "139", "146", "201", "205")
$Array3 = array("13", "25", "29", "32", "46", "48", "53", "63", "65", "91", "93", "149", "157", "159", "160", "188", "212", "216")
Thanks,
GPS