php include pages or files

php include page example

php include pages or files The include (or require) statement takes all the text/code/markup that exists in the specified file and copies it into the file that uses the include statement. Including files is very useful when you want to include the same PHP, HTML, or text on multiple pages of a website. It is possible to insert … Read more

Failed to start httpd server: Address already in use

httpd services failed

Failed to start httpd server: Address already in use Error Message while restart on http service:  Starting httpd: (98)Address already in use: make_sock: could not bind to address [::]:80 no listening socket available,shutting down unable to open log Solution: This error usually occurs when web server is using the port, here 80, or The clean … Read more

Pascal trangle program in c

Pascal trangle program in c Pascal Triangle is a Triangle form which, each number is the sum of immediate top row near by numbers. The Value of edge is always 1. 1 1 1 1 2 1 1 3 3 1 1 4 6 4 1 Let’s Start C program:   #include <stdio.h> int main() … Read more

MySQL UPDATE Statement

mysql 5.7

MySQL UPDATE Statement The UPDATE statement is used to modify the existing records in a table. UPDATE Syntax: UPDATE tablename SET col1 = val1, col2 = value2, … WHERE condition; Be careful when updating records in a table! Notice the WHERE clause in the UPDATE statement. The WHERE clause specifies which record(s) that should be updated. If you omit the WHERE clause, all records … Read more

File compress and uncompress in linux

file compression and uncompression in linux

File compress and uncompress in linux gzip command compresses files. Each single file is compressed into a single file. The compressed file consists of a GNU zip header and deflated data. If given a file as an argument, gzip compresses the file, adds a “.gz” suffix, and deletes the original file.   gzip file Compress file to create file.gz. … Read more

Create user in linux

Linux_Fedora

Create user in linux   Use the adduser command to add a new user to your system. Be sure to replace username with the user that you want to create. adduser username Use the passwd command to update the new user’s password. Set password for a user in linux passwd username Set and confirm the … Read more

Bihar Board 10th Result 2019 | BSEB 10th Result 2019

BSEB result

Bihar Board 10th Result 2019 | BSEB 10th Result 2019 Latest: Bihar Board 10th Result 2019 will be announced in the 4th week of June 2019. Result: The Students of BSEB will be able to Find the Bihar Board 10th Result 2019 from the official website: biharboardonline.bihar.gov.in How to check Bihar Board 10th result 2019 Step 1: Visit … Read more

Create and View file in linux

Linux_Fedora

Create and View file in linux The ‘cat’ command is used to display text files. It can also be used for copying, combining and creating new text files.  Let’s see how it works. To create a new file, use the command vi filename Press a to enter into insert mode or append mode Start writing … Read more

rm command to delete files in linux

Linux yum

rm command to delete files in linux   The rm command (short for remove) is a Unix / Linux command which is used to delete files from a file system. Here is few example of rm command 1) To remove a file named test.txt, use the following command. $ rm test.txt Here rm test would … Read more

MySQL where condition

mysql 5.7

MySQL where condition   WHERE Syntax SELECT column1, column2, … FROM table_name WHERE condition; Note: The WHERE clause is not only used in SELECT statement, it is also used in UPDATE, DELETE statement, etc.!   SELECT * FROM Customers WHERE Country=’Mexico’;   Operators in The WHERE Clause The following operators can be used in the WHERE clause: Operator Description = Equal <> Not equal. Note: In … Read more