say $name is the value of the updated column, the column name is name, and the table name is testtb, you would type:
$query = mysql_query("SELECT * FROM testdb WHERE name=$name");
$array = mysql_fetch_array($query);
$rnd = $array['<Name of column you want to pull value from>'];
echo "$rnd";