Home >Backend Development >PHP Tutorial >Unlimited categories_PHP tutorial

Unlimited categories_PHP tutorial

WBOY
WBOYOriginal
2016-07-13 10:59:33901browse

Unlimited categories

//Infinite classification, the main idea is this, use fid to record the upper-level ID of the class, and establish a superior-subordinate relationship through fid and id.

$conn = mysql_connect("localhost","root","root") or die("Database connection lost");
mysql_select_db("new",$conn);
?>
Category: