1.mysql connect $db=new mysqli ('localhost','database','user','password'); 2. query $query=select id from table_name where name='abc'; $query=insert into table_name values("id","info"); 3.value $results=$db->query($query); $num=$res…
http://dba.stackexchange.com/questions/30021/mysql-tree-hierarchical-query No problem. We won't show you that ad again. Why didn't you like it? Uninteresting Misleading Offensive Repetitive Other Oops! I didn't mean to do this. …