Rules for PHP Syntax The main syntax rules are : All the PHP code in a PHP script enclosed within <?Php and ?> ( Canonical PHP tags every expression in PHP ends with a semicolon ; The default file extension of PHP files is " .php ". Commenting PHP code : Both single-line and multi-line comments. For single-line comments, use # o…
Read morePHP structure, syntax · All the php code in a php script enclosed within <?Php and ?> ( Canonical PHP Tags ) . · Adding php code inside the PHP tags is known as Escaping to php Short-open (SGML-style) tags <?Php ... ?> Or <? ... ?> Or In the HTML script tags, (for adding javascript code in HTML document) <sc…
Read moreKEYS IN DBMS KEYS is an attribute or set of attributes(columns) that is use to identify a row(tuple) in a relation(table). It establishes a relation between the two tables. Keys are used to uniquely identify a row/record in a table. Help to enforce identity and integrity in the relationship or relation. Example: Employee ID FirstName …
Read moreConstraints in DBMS Constraints are the enforced restrictions rules, imposed on the database, table column, table, and their operations ( inserted/updated/deleted) . They ensure the correct data in the database( accuracy) and maintain the data integrity (as to reliability) during an operation into a table . Integrity Constraints Integrity constrain…
Read more
Social Plugin