Saturday, 30 June 2018

how to make a website in php free??

" How to make a website for free?"-well this question arrives in mind of every next guy who is searching internet and has little or no knowledge of computer languages. As when I was in school I  dreamt of making one website by myself. For that purpose I tried various links like " Make website in 5 min" or "make your website quickly" but these searches on internet were of no use as I ended up with nothing.
It was all after that when I joined engineering and got into some real programming that I learned how the websites are made and become live on internet. So, if you are also a beginner in the world of programming languages and wanna know about the websites then you are on right place as I will try to explain all of you like beginners.

So, guys lets get started with the website stuff. To make a website firstly you need the knowledge of following languages to make your website:

  • client side/front-end languages
  • server side/back-end languages
  • database 
Now, I'll try to elaborate them so that you all would understand them. You all know I don't try to go too deep into logic because I want all of you should be able to understand my article and not only persons belonging to technical field.


  • Client side language: These languages are used to code for the user view or user interface(UI). Coding in this language usually deals with the view that is visible to the user. In case of web development these include: HTML, CSS, JAVASCRIPT, JQUERY and also AJAX.
  • Server side languages: These languages run on the server. These languages usually get the data from the database. As its like imagine your database as a water tank and suppose the user wants 2 gallons of water so the code in this language will fetch the water from tank or data from the database as according the executed query. These languages include: PHP, python, java etc. But we are using PHP( Hypertext Preprocessor) for our website.
  • Database: It is used to store data. Data can be any text, image or links to pages. We execute queries to fetch the data from the database. In our website we will use MySQL as our Relational Database and SQL as the language for manipulating database. SQL means Structured Query Language which is used to fetch data, update data, insert data and also delete data from the database.
Beyond these these three things mentioned above we need a server as well to run our website on the local computer. So we use WAMP( Window Apache MySql Php) server on our computer. This will work the same as the web server works but we don't need an internet connection in this case to run our website and our website will only be accessible through our computer until we don't make it live and set visible to public.

Well all the information provided above was necessary before starting to building a website. Well I know you guys need some practice of all the languages before we make a website. So for that purpose I'll publish next blogs regarding the languages And after teaching those languages I'll provide you some useful codes which you will use in your websites and I am sure anybody could understand those codes.

I know you'll be thinking already a lot of tutorials are present on internet regarding teaching programming but guys I told this before also I will always try to explain you as thinking you all are beginners. As I know what it feels when You don't even get a simple code of program and everyone else is doing great. So for that purpose I try to share knowledge according to my experiences rather than facts.

Keep in touch with my blog to get more articles. Languages coming soon................





Monday, 18 June 2018

hair loss

Well, a warm welcome to all the readers. If you don't know I wanna tell you that all the blogs that I write are mainly from my experience.

Hair loss is a very big problem these days. Most of the people are experiencing this problem these days. Even the young people are facing this and are desperate enough to find the solution to solve this. Well, if that so you came to the right place as we will discuss everything about hair loss. I will not go too deep into science behind all the reasons but yeah will try to explain in easy way.

POSSIBLE REASONS OF HAIR LOSS:
  • Pollution: It is one of the major causes of the hair loss that all we are facing these days. As when we step out of our homes/offices there is so much dirt present in the atmosphere that affects our hair health. Harmful gases coming out of the exhausts of the vehicle damages your hair a lot.

  • (Image source via: GIPHY)


  • Not eating balanced diet: A balanced diet is very important for our body. We need all the nutrients from our diet. As today our diet is like this when we are fitness freaks we are completely on diet and only focusing on protein and when we are not on diet we are like eating anything I actually mean anything like our favorite food that may contain no nutrients but only harmful fat and calories. Always try to have a balanced diet for proper growth.
(IMAGE SOURCE VIA: FOODIESFEED
  • Not taking care of your hair properly: By this I mean that you maybe not taking good care of your care. And by care I mean that you maybe not cleaning your hair regularly. You all should understand if you are facing problem of dandruff then its nothing guys it's just the result of your carelessness towards your hair. As cleaning your hair on regular basis is very important for hair growth and health.
  • (IMAGE SOURCE via: GIPHY)

  • Genetic factor: Well this factor also affect your hair texture and hair loss. I know you can't do anything about this but yeah you should know this and should not get upset.
WHAT CAN WE DO TO SOLVE THIS PROBLEM OF HAIR LOSS:

  • First of all, you should taking your hair health very seriously. So you should clean your hair very regularly.  
  • Applying oil on your hair is very important as it  helps in hair growth. So you should oil your hair almost twice a week( or more if you want). Use natural oils and always use a mixture of two or more oils.                                                As combination of two or more oils adds more value to its nutrition. Don't get confuse you can use easily available oils like mustard oil+almond oil+coconut oil( you can add any natural oil but the oils that I told are very helpful especially coconut oil). Also try to warm the hair before applying it on your hair as it helps in hair growth.                                                                           It's a very old way of massaging your hair scalp with warm oil but yeah it still works perfectly. You know right that old is gold. 
  • Try to keep the oil on your hair overnight as oil requires time to go up to your hair roots and make it strong. You all should know that mostly oils have VITAMIN-E ( the nutrient beneficial for our hair growth). Vitamin E is beneficial for skin as scalp is also nothing just skin on your head so this vitamin when massaged improves the skin of scalp so by that it improves the  hair growth as well.
  • Use a proper shampoo to wash your hair. Use shampoo which suits you. As some people use mild shampoo and some use strong shampoo to wash their hair. I would recommend to use a anti dandruff shampoo( as I use this shampoo) and shampoo for at least once or twice a week depending your shampoo is mild or strong.
  • Avoid using hair styling gels and creams on regular basis well if  you take my advice I would recommend to use them only on parties or special occasions. If you wanna use one of  them use the product of very high quality and of great brand.
  • Avoid combing your hair when its wet and try to dry your hair before combing it.






Saturday, 9 June 2018

fitness at home!!

Well this is a question whose answer everybody is searching for these days. Don't you think so ?
I know everybody is so much busy in their respective works. I can totally understand as I am also experiencing this situation now a days.

So that's why it become so much important that you workout and achieve fitness at certain level so that you can keep yourself healthy and moving and can achieve self goals without any interruption of sick day. Well, yeah we all know sometimes one sick day can cost you so big at your work.

In this article I m not saying fitness like six pack ab fitness or building big muscles and look like a bodybuilder. Well, if you thinking about that fitness then its a no no from me as I will not explain that because for that kind of fitness there are so big experts present on social media whom you can follow.

I will talk about normal fitness I mean fitness that may not build you big muscles but yeah you will definitely feel more fit and light and most important stress free and healthy heart and body.

One thing that I love about working out is that it not only make you physically fit but also make you mentally fit also. According to me if you workout for at least one hour a day you will feel so much fit and healthy not just physically but also mentally that you will fell less stressed and also your mind will work even better then ever.

Working out is so essential for heart's health also. I will not go too deep into medical terms but will explain in easy words that it increases the level of "GOOD" cholesterol in your body and reduces the "BAD" cholesterol. It also reduces the risk of diabetes and high blood pressure as it controls your body weight.

As we all know how important is our heart so to keep it healthy we should exercise on daily basis. Either exercise one hour or two hour but its very important to keep our body in active state.

Other important factor concerning our body healthy is diet. As we all have heard that their is less nutrition in vegetarian diet. Well its somehow right but we can include some foods which can add nutrition to our daily diet plan.

So in diet we should definitely include nuts( almonds, cashews, walnuts, peanuts ) and other nuts also but these I have discussed are easily available anytime. We should eat a handful of nuts daily as they have "GOOD" fats in them which are required by the body and they also are helpful for our heart.

Also try to include fruits and vegetables in your diet. Spinach, broccoli are a great option to include in diet  as they are good source of fiber, protein,iron  and lower your blood pressure and are healthy for your heart also.

We all should take out some time from our busy lives and try to invest some on our health too. See, you all should understand this that we all are now working so hard and giving no time to our health and so spoiling our health. Its a point to worry because it may take years to earn money and fill our bank accounts but it may take some days to empty it once your health deteriorates.

So always give your health equal importance as you give to other works. Workout, stay fit and live happy long life.


Saturday, 2 June 2018

retail vs wholesale in grocery business


Merely in 4-5 months I got to know the difference between wholesale and retail in grocery business. So mainly my journey from engineering class to a retail store started when I had to sit on our family retail store of groceries due to some free time after the completion of degree and before finding a job.

Retail definition:-
Retail business mainly deals with selling goods to the customers directly. As the customer can visit the store and choose the product to buy and can pay the owner of the store for that product.

Wholesale definition:-
In contrast to retail business, wholesale business deals with selling goods to the retailers and big box stores in bulk rather than to the customers. They purchase from the manufacturers directly in bulk amount so they manage to get the products in lower price.

Profit margin:-
The margin is usually low in wholesale business as they sell the goods in bulk rather than to customers.
Two terms I came across while in retail business were:

  1. Margin: This means how much % profit you can make by selling that item. It is calculated as     Sold price=[[Cost price/[100+profit%]]*100]
  2. Flat: This also means profit% but it is calculated as                                                                 Sold price=Cost price-[[margin/100]*Cost price]
  3. c.d.: I also came across this term also and as much I understood from this its actually an extra amount that wholesalers usually charge to the retailers while billing the purchased goods and this amount is not actually paid by retailers as while paying the amount they pay the amount of goods deducting the cd amount and its also shown on payment receipts that a particular amount is deducted as cd from the billing amount.
Net Profit:-
This usually depends upon the person running the business. As both wholesale as well as retail business both are profitable as long as they are getting orders from their customers or clients.
             The profit margins are less in wholesale but they supply in bulk so they make large profit by even small profit margin.
             The margins are high in retail but they don't supply in bulk so they can make equal profit by even serving a lot less customers.

Retail benefits over wholesale business:-
  • Profit margins are high.
  • More control over the product it means where we have sold the product, where it is used and when we have sold.
  • Face to face customer interaction.
  • Don't have that stress to meet the orders in so much bulky amount.
Wholesale benefits over retail business:-

  •  Not always need to have the inventory. As firstly we can collect the orders from our clients then after that we can decide in what amount we have to purchase the goods so as to meet the demand which is contrary to retail as there we have to keep the inventory always as the customer will not wait and will go to other retail shop where they find the same product.
  • Don't have to sit and wait for customers to come as we can go to different retailers and can collect the orders from them.
  • This business is usually done by receiving order calls so we dont have to be present on our store as long as we are working.


So according to my advice you can do any kind of business as both are profitable and need  hardwork. Your choice depends upon what business suits your personality or needs. Read the above article carefully so after that you can decide what you have to do.