PHP Basic String Functions

substr In JavaScript there is a “substr”, but the modern form is “subverting”. In PHP the substr is illustrated below: $string=“0123456789”; echo “substr(\$string,3,4)=”.substr($string,3,4); //result: substr($string,3,4)=3456 substr, in the example above, copies a string from $string, starting at position 3, and

MySQL

MySQL

PHP / MYSQL CONNECTION PHP has three standard APIs for database connections: MYSQL MYSQLi – MySQL Improved PDO – PHP Data Objects (Best) The traditional mysql API certainly gets the job done, and has become so popular largely due to