Jochem Maas wrote:
Phpu wrote:
Hi,
I need to create multiple categories and subcategories using php and mysql. Something like that
its bad practice to state the technology that must be used before you have determined the scope and function of the problem, besides you have to know whether php and mysql are capable of providing a solution
to your problem.
This level of functionality is supported BY any language.
no sh*t.
I was making a point: namely that you should scope the problem and know the technology before deciding upon - if he doesn't have a clue how to do this then its just as relevant to go for Perl and FlatFile storage - so why choose PHP+MySQL off the bat (and bother us with the rather stupid question - stupid because googling just about any combination of 'tree' 'structure' 'hierarchy' 'php' brings up shed loads of good links)
granted he may not have had any idea what the thing he was looking for was called - that would make it alot harder to search for! but he knows now - so hopefully he comes back with a specific question regarding his 'tree' problem.
Does anyone know a godd totorial how to create this in pahp and how to make the structure of the database?
in the words of the immortal: "Yes."
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php