so inside PHP let me create another folder and let me name it as concepts let donate this file let me tell you okay so inside concepts new file so let me save it as comments dot page so we will see how can we comment in PHP so if you want to write any PHP as I mentioned early earlier we have to use this syntax so okay so I started the page P tag and I close the PHP tag now if I want to comment something for example if I want to use yellow sorry echo this is sample code so it would be okay we have to go to constants this is sample code I won’t give this echo I didn’t get any output but this is not the good practice so what we have to do is this is sample code if you want to comment something this is single while this is this part I want to comment what you can do you can simply use double slash before that you can see if you reload the page this is sample code of sample code you can only see this is sample code not this part I want to comment so in PHP they have two types of I mean in two ways we can comment when the first is called single line comment and the other one is called multi-line comment or this is also called as block comment because we are commenting a block so you can you can use single and comment by using two slashes are we can also use a hash don’t need two slashes so this is how we can comment a single line for a multi-line comments I’ll block comment so what we can do so consider how many lines I want to comment all at once so we can do it simply by using slash star so if you see even this is also got commented so what we have to we have to close it properly by using star and then slash and I want to write something else this is a code if I reload so we can see this is sample code and this is end of my code if you see even here we give to you know two comments or two statements in two different lines here we cut in one line the reason is it doesn’t matter you just echoed it so when you echo it will print something like this on the browser and then again you a code to take so after this statement the next statement is echoed this is the end of my course so it will just take this string and it will just paste it here so this is how we can see on the browser so what we have to do if you want to include this one in a new or separate thing we have to use HTML here we need HTML skills here so after Ecco we need to use break so this is HTML code so now we should see two in different files the reason is I forgot to put semicolon okay so this is sample code and this is end of my code


Google Plus

Apache Zookeeper Tutorial

Apache Kafka Tutorial

Apache Kafka Security

Elasticserarch n Kibana

Java 8 Tutorial

Log4J Tutorial

Apache Storm Tutorial

SQLite Tutorial

Apache Ant Tutorial

Related Posts


Apache Kafka Commands Cheat sheet

Spread the loveKafka Topics List existing topics bin/ –zookeeper localhost:2181 –list Purge a topic bin/ –zookeeper localhost:2181 –alter –topic mytopic –config … wait a minute … bin/ –zookeeper localhost:2181 –alter –topic mytopic –delete-config
Read more…


What is Apache Maven | Apache Maven complete tutorial from scratch pdf

Spread the love In this post you will learn the complete tutorial of Apache Maven build tool What is Maven ? Apache Maven is a software project management and comprehension tool. Based on the concept
Read more…


Practical Guide for Web Development in 2018

Spread the loveWelcome to my practical guide  for web development in 2018 in terms of  technology and career. Before we start I just want to  mention a few things, you don’t need to learn  everything that
Read more…