by admin | May 23, 2025 | html
Using HTML <label> with Form Elements The <label> element is a crucial part of accessible web forms that associates text with form controls. Here are the main ways to use labels with various form elements: Basic Label Usage 1. Wrapping...
by admin | May 19, 2025 | Code
https://openclassrooms.com/fr/search?query=javascript&type=course https://openclassrooms.com/fr/search?query=php&type=course https://openclassrooms.com/fr/search?query=wordpress&type=course...
by admin | Nov 1, 2023 | Arrays
Motivation Used to store several values in one variable. Say you need to store your contacts. contacts = array (‘paula’,’maria’, ‘bob’ ); Adding elements to existing array $carribean = array("RD", "Jamaica", "Colombia"); $carribean[] =...
by coder coder | Jul 7, 2023 | Arrays
Used to store several values in one variable. Say you need to store your contacts. contacts = array (‘paula’,’maria’, ‘bob’ );
by coder coder | Jul 3, 2023 | etc
Ways to iterate <?php $cars = array("a", "b", "c"); $arrlength = count($cars); for($x = 0; $x < $arrlength; $x++) { echo $cars[$x]; echo "<br>"; } echo "<hr>"; foreach($cars as $x) { echo $x; echo...
by coder coder | Jul 3, 2023 | etc
<?php // $str = "<h1>Africa ≠ America ÆØÅ! &+ </h1>"; // Remove HTML tags and all characters with ASCII value > 127 $str2 = filter_var($str, FILTER_SANITIZE_STRING,FILTER_FLAG_STRIP_HIGH); echo $str2; // result: Africa America ! &+...