What is php???? Some useful and basic information
What is php???
PHP : PHP Hypertext Processor
What can PHP do?
Anything. PHP is mainly focused on server-side scripting,
There are three main fields where PHP scripts are used.
Server-side scripting :
This is the most traditional and main target field for PHP. You need three things to make this work. a webserver and a web browser. You need to run the webserver, with a connected PHP installation. You can access the PHP program output with a web browser, viewing the PHP page through the server.
Command line scripting :
You can make a PHP script to run it without any server or browser. You only need the PHP parser to use it this way. This type of usage is ideal for scripts regularly executed using cron (on *nix or Linux) or Task Scheduler (on Windows). These scripts can also be used for simple text processing tasks.
Writing client-side GUI applications :
PHP is probably not the very best language to write windowing applications, but if you know PHP very well, and would like to use some advanced PHP features in your client-side applications you can also use PHP-GTK to write such programs. You also have the ability to write cross-platform applications this way.
What is php And which relationship between php and MySQL
My Dear friends as i explained above,
PHP is PHP Hypertext Processor
PHP is web scripting language.
PHP is mainly focused on server-side scripting and it is totally platform independent language.
Now we come to topic Relationship between php and MySql
As above mantion php is server side sctipting language ,
And MySql Server is for Database Operations.
In general use php uses MySql as it Database server, so in short MySql is nothing but only the database server application that can be used by php.
Its so simple to use MySql database in php page, as
Eg. the username and Password that we passed are being from php page
and it might be using MySql server.