I want to develop a PHP site , do i need mysql for database

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
bharatinfotech
Forum Newbie
Posts: 1
Joined: Sat Sep 08, 2007 8:47 am

I want to develop a PHP site , do i need mysql for database

Post 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
User avatar
s.dot
Tranquility In Moderation
Posts: 5001
Joined: Sun Feb 06, 2005 7:18 pm
Location: Indiana

Post by s.dot »

You don't have to.

You can go with other databases or flat file approach.
Set Search Time - A google chrome extension. When you search only results from the past year (or set time period) are displayed. Helps tremendously when using new technologies to avoid outdated results.
User avatar
califdon
Jack of Zircons
Posts: 4484
Joined: Thu Nov 09, 2006 8:30 pm
Location: California, USA

Re: I want to develop a PHP site , do i need mysql for datab

Post 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.
User avatar
CoderGoblin
DevNet Resident
Posts: 1425
Joined: Tue Mar 16, 2004 10:03 am
Location: Aachen, Germany

Post 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.
User avatar
Kieran Huggins
DevNet Master
Posts: 3635
Joined: Wed Dec 06, 2006 4:14 pm
Location: Toronto, Canada
Contact:

Post 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.
Post Reply