Home > Backend Development > PHP Tutorial > Unlimited categories_PHP tutorial

Unlimited categories_PHP tutorial

WBOY
Release: 2016-07-13 10:59:33
Original
903 people have browsed it

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: