BCA TY Notes For PHP (5) (1) - Removed
BCA TY Notes For PHP (5) (1) - Removed
MySQL:
MySQL runs on virtually all platforms, including Linux, UNIX, and Windows. Although it can
be used in a wide range of applications, MySQL is most often associated with web-based
applications and online publishing.
<?PHP
?>
3. Save the file in XAMPP Installation Directory \ Web Root Directory Note-
1: Default XAMPP Installation Directory in Windows is C:\xampp Note-2:
Default Web Root Directory in XAMPP is htdocs. All your php files will have to be in
this htdocs folder. That means, for a typical installation of XAMPP in Windows, you
will have to save the PHP CODE in C:\xampp\htdocs folder.
4. When you save the file, name it test.php (just as an example, any valid file name with
.php in the end will work).
Note: when you save this file, make sure it has no .txt extension at the end. Some
text editors place .txt at the end of file name, so it becomes test.php.txt instead of
test.php. To avoid this, when you save the file using any text editor, place double
quote around the file name: e.g. "test.php"