mysql
move a learn from mysql to php