Jump to content
xisto Community
kraizii88z

What's The Diff?...php/mysql?

Recommended Posts

What' s the diffrence between php and mysql? Are they both the same thing for the most part, or is one more advanced? How do you start to learn them & why would you choose one over the other?

Can anyone explain why there are no really good mysql /php tutorials online??Can someone pleeeez refer one?

 

 

Thanx- i'm really in need..

Share this post


Link to post
Share on other sites

actually, there are BIG differences btwn MySQL and PHP.

 

PHP is a scripting language which turns a STATIC webpages into DYNAMIC pages. You can think it as C++, but the only difference is that this programme is intended to run at webservers.

 

MySQL is a database engine. Which means, this is the program that enables you to save datas.

 

These two are avaliable for free under tha GPL licencing. They are always been used together as they had prove their reliability to the highest. Some say that PHP and MySQL are having the same reputation as commercial apps such as ASP and Oracle. For that, the integration btwn them has improved.

 

For more info, visit

http://www.mysql.com/

http://php.net/

Share this post


Link to post
Share on other sites

There's a good book on PHP and MySQL by Janet Valade, called PHP and MySQL For Dummies. It talks about how to use the PHP scripting language with the MySQL database. Those 2 work together really well, maybe that's why you got them confused.

Share this post


Link to post
Share on other sites

I also add something :) :

php is created for analyzing forms, mysql is for saving variables, names etc., which php uses (p.e.: you save passwords with the help of php in mysql databases). for more information look at http://php.net/ :)

Share this post


Link to post
Share on other sites

PHP: A server side scripting languageMySQL: A databaseWhen a user selects a page, index.php, the code is sorted out on the server, gaining the information and processing it. The output is then sent to the user's browser.If you compare this with Javascript, which is Client-Side, the script is sent to the user's browser and the browser processes the code. The main difference is Javascript can update a page on the user's browser in real time (i.e. you could put a countdown clock on a page) but on PHP this isn't possible unless the user hits the refresh button. On the other hand, PHP is much more secure and doesn't rely on the user to have Javascript installed on their browser.A good website is http://www.hackingwithphp.com/

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.