Does anybody here know if you actually need MySQL to do Forums in PHP??? Muchly appreciated if someone answers:happysad:
Does anybody here know if you actually need MySQL to do Forums in PHP??? Muchly appreciated if someone answers:happysad:
I never heard of a forum that does not use MySQL, but it is possible to just use PHP, although that is so much more insecure.
The popular ones like phpBB and SMF all use an SQL database. It doesn't strictly have to be MySQL though.
Next time, please post this type of question in "Scripts and 3rd Party Apps".
![]()
Most forum software written in PHP utilize mySQL databases, since it's one of the most well known and used out there at the moment. You can still get software that uses other systems such as Oracle and PostgreSQL, and some that use no database at all.
You COULD make a forum using php and not a MySQL database, but i'd be a pain. You could just write to files; it's very possible.
However, it wouldn't be as easy to do and it would be harder to make some of the advanced functions.
One database is necessary for a forums it can be IBM DB2 or Open source Mysql or Oracle or Microsoft's sql server 2008 or Post Gre. And you need one server side language to connect it. X10hosting.com provides PHP as it is open source. And they also give mysql and postgre databases. Either you can desingn forum using that.
or install a forum from fantasico
phpBB or SMF
just one or two click will do.
------------------------------------
My site is http://klnce.elementfx.com
I'm actually trying to write a Forums from scratch... I'm just now starting to understand how they work
Well, if you are writting one from scratch using php, then I would recommend using mysql, there is (as far as I can tell) a lot more documentation for using MySQL with PHP then for other database types.
Here are some useful references:
http://www.w3schools.com/PHP/php_mysql_intro.asp
http://au2.php.net/mysql
http://hudzilla.org/phpwiki/index.php?title=Databases
~LHVWB, Formerly known as Verbsite.
Getting Started | Forum Rules | X10 Commandments
Terms of Service | Getting Support | IRC Support Chat
Using Simple Machines Forums? Check out my SMF Mods..
Thanks, I am actually studying some PHP with MySQL, and finally starting to understand how Databases work =).. I was creating the tables with Plain HTML, but I noticed, I didn't have to do that, I can use PHP to do that. I know it'll be tougher, but it'll be well worth it.