A While loop is used when we have to repeat a set of statements as long as the condition is false. It could be the best where number of repetition is not known earlier or in advance. It can be explain in plain English as “Keep doing something until a condition is true”. Syntax: while…
Read MoreWe already learned about variables, but there are some Readymade or predefined keywords in PHP that can be used without you having to create them first. Predefined or Superglobals variables are used to provide information from and about the web server, the web browser, and the user. There are several types of Super Global Variables:-…
Read MoreVariables – PHP Variables are used to store data and can be called by using the variable name and the data that it holds will be outputted instead. For example, I want to save the message “Hello Hirdesh” in memory and then first display hello Hirdesh and afterward Welcome to PHP World, I will write…
Read More