kraizii88z 0 Report post Posted February 12, 2005 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
Charly1405241472 0 Report post Posted February 13, 2005 mysql reffers to a database I guess, and php reffers to the extension of a file (like .htm, .exe, .png, you have .php). Suchs files (.php) often only work with a database, like forums. Share this post Link to post Share on other sites
whafizi 0 Report post Posted February 13, 2005 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
szupie 0 Report post Posted February 13, 2005 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
skpanda 0 Report post Posted February 13, 2005 as far as i know!! http://www.w3schools.com/ is one of the best!! please lemme know!! if u know any...even i am looking some good links for HTML (advanced)!! Share this post Link to post Share on other sites
avalon1405241471 0 Report post Posted February 13, 2005 PHP is a server side script that tell the server how to response to requests.MySQL is a database to store data only.In another words, PHP is a manager and MySQL is a warehouse.Got the idea? Share this post Link to post Share on other sites
tillus 0 Report post Posted February 26, 2005 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
rkage 0 Report post Posted March 5, 2005 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