Page 1 of 1
I want to develop a PHP site , do i need mysql for database
Posted: Sat Sep 08, 2007 9:01 am
by bharatinfotech
Hi fellows,
I know most of you are expert in php and i am just a newbi here, guys i need help. I ve to design a database with php .. do i need mysql to make backend..? If you can guide me a little that what all is required to start developing a backend and php , i would be higly greatful. may be some tutorial link can help.
thanks in adv
VS
Posted: Sat Sep 08, 2007 9:39 am
by s.dot
You don't have to.
You can go with other databases or flat file approach.
Re: I want to develop a PHP site , do i need mysql for datab
Posted: Sat Sep 08, 2007 11:22 am
by califdon
bharatinfotech wrote:Hi fellows,
I know most of you are expert in php and i am just a newbi here, guys i need help. I ve to design a database with php .. do i need mysql to make backend..? If you can guide me a little that what all is required to start developing a backend and php , i would be higly greatful. may be some tutorial link can help.
thanks in adv
VS
As scottayy said, you could use other databases, or even a text file (if you need only a simple reference), but MySQL is such a capable and reliable database, it is certainly a good choice.
Posted: Sat Sep 08, 2007 12:07 pm
by CoderGoblin
The two main open source databases are MySQL and Postgres. Talk to people who use one or the other and you will get "Mine is better than the other". The main question is what your host supports. MySql is certainly the most widely supported although as a personal choice I use postgres. Both tend to "lock" people into a certain way of thinking. My suggestion would go with MySQL unless you have a specific requirement to use postgres. If you are developng on your own server try both and learn the differences.
Posted: Sat Sep 08, 2007 9:57 pm
by Kieran Huggins
If you don't have access to an SQL server you can also use SQLIte, so long as you're using php5 or have the PECL library installed. Check out
http://php.net/sqlite for more info.