Create multilevel category tree with PHP and mysql Creating a mysql table with parent and child columns Insert some dummy records. Parent columns with zero value denotes its the base/root category. Creating category Tree using recursion Display the category tree in a dropdown list. Displaying Category tree in list format
PHP – Custom array sorting one dimensional to multidimensional array
Get all email addresses from a string as an array
When creating a database, common sense dictates that we use separate tables for different types of entities. Some examples are: customers, orders, items, messages etc… But we also need to have relationships between these tables. For instance, customers make orders, and orders contain items. These relationships need to be represented in the database.
PHP Credit Card Number Validate and Get Card Name/Type By Card Number