Difference Between $this and self in PHP
What is the real difference between $this and self:: ? A simple Google search will return several sites that show a definition such as this one: “Use $this to refer to the current object. Use … Read more
PHP
What is the real difference between $this and self:: ? A simple Google search will return several sites that show a definition such as this one: “Use $this to refer to the current object. Use … Read more
I am not going to be too verbose on this one because there is no reason to. Both echo and print do the same thing with the exception that: 1. “echo” seems to be faster … Read more
If your html looks like “ycsoftware †categories“, you will need to use the ICONV function to convert the string to something that humans can read. $str = iconv(“UTF-8”, “ISO-8859-1//TRANSLIT”, $str); Your result should look … Read more
What is the meaning of curly braces in PHP? In PHP curly braces are used to explicitly indicate the end of a string. for example let’s say you have this: $computer = ‘computer’; if i … Read more
Here is how to do a confirm box just in case you forget it <span> <a href=”delete.php” <strong>OnClick</strong> OnClick=”return confirm(\’Are you sure you want to delete?\’);”> delete everything </a> </span>