My STUDY plan as of 5/15

Learn NOW < GOAL for 2024 till 12/31) MY OLD things <if i have time i will keep learning> TODAY

Operators in PHP

Arithmetic operators Comparison operators Logical operators Logical Operators Operator Example Name (meaning) Result and ( && ) $a and $b AND true if both $a and $b are true. or ( || ) $a or $b OR true if either $a or $b is true. Xor $a xor $b XOR true if either $a or … Read more

VALIDATION & SANITIZE filters in PHP

You need to do VALIDATION for the following things (& also you need corresponding MSG too) To make all INPUTS safe to use, you should wrap them into this function: And also to keep your data consistent on DB you should also add this: Basic syntacs: Sanitization Filters: Validation Filters: Integer Filters: Float Filters: Boolean … Read more

RESET.css file! What is it and why you should be using it

< IMPORTANT > Bootstrap also has also reset.css called reboot.css and if you are working with Bootstrap then it might be the best solution to use. Latelly CSS Remedy is the new way of doing reset.css, check it out. There are many different BROWSERD in this world. Unfortunately all of the display content (our website) … Read more

CONSTANTS in PHP

CONSTANTS must be defined and can’t be changed throughout the program like $variables can. CONSTANTS are global and therefore can be accessed from FUNCTIONS as well. Other facts about constants:

Superglobal $GLOBALS

This is a super USEFUL superglobal which helps you to access not-global VARIABLES everywhere in your code as far code is connected with files using INCLUDE function. Let’s say you want to access a normal VARIABLE outside of a function.