This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://www.youtube.com/watch?v=B-isAPna_XI | |
le php qu est ce que c'est ? | |
https://www.youtube.com/watch?v=QI8NMJy2L1k | |
le css qu'est ce que c'est ? | |
https://www.youtube.com/watch?v=LCEFx6s4C7c |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mysql> SELECT firstname FROM wizard WHERE firstname LIKE 'h%'; | |
+-----------+ | |
| firstname | | |
+-----------+ | |
| harry | | |
| hermione | | |
+-----------+ | |
2 rows in set (0.00 sec) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$errors = []; | |
if ($_POST) { | |
$userName= $_POST['name']; | |
$lastName= $_POST['last_name']; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$title= [ | |
'Indiana Jones Raiders of the Lost Ark' => ['Harrison Ford','Karen Allen', 'John Rhys-Davies'], | |
'Indiana Jones and the Temple of Doom'=> ['Harrison Ford', 'Kate Capshaw', 'Jonathan Ke Quan'], | |
'Indiana Jones and the Last Crusade' => ['Harrison Ford', 'Sean Connery', 'Alison Doody'], | |
]; | |
foreach ($title as $key => $value) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$message = "0@sn9sirppa@#?ia'jgtvryko1"; | |
/* pour calculer la longueur de la chaine */ | |
echo $numberCaractere = strlen($message); | |
echo $numberCaractere ; | |
echo '<br>' ; | |
/* pour diviser la chaine en deux */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* veille article php : | |
En cliquant sur ce lien on peux comprendre par des visuels : l'installation, la creation, la syntaxe, les variables, | |
la configuration, avec des notes explicatives; à découvrir ou redécouvrir absolument! */ | |
https://www.php.net/manual/fr/tutorial.firstpage.php | |
en plus *via youtube : https://www.youtube.com/watch?v=FKdctsQ1v7U&t=862s | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$title = "indiana jones"; | |
$seen = true; | |
$year = 1989; | |
$note = 4.6; | |
echo $title; | |
echo $seen; | |
echo $year; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2019-09-10 16:51:49 (715 KB/s) - «planets.zip» enregistré [300234/300234] | |
wilder@wilder-ThinkPad-T440p:~$ unzip planets.zip | |
Archive: planets.zip | |
creating: planets/ | |
inflating: planets/mercury.jpeg | |
inflating: planets/earth.jpeg | |
inflating: planets/pluto.jpeg | |
inflating: planets/arrakis.jpeg |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2019-09-10 16:51:49 (715 KB/s) - «planets.zip» enregistré [300234/300234] | |
wilder@wilder-ThinkPad-T440p:~$ unzip planets.zip | |
Archive: planets.zip | |
creating: planets/ | |
inflating: planets/mercury.jpeg | |
inflating: planets/earth.jpeg | |
inflating: planets/pluto.jpeg | |
inflating: planets/arrakis.jpeg |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
wilder@wilder-ThinkPad-T440p:~$ ls | |
Bureau examples.desktop Modèles Public Téléchargements | |
Documents Images Musique snap Vidéos | |
wilder@wilder-ThinkPad-T440p:~$ ls telechargements | |
ls: impossible d'accéder à 'telechargements': Aucun fichier ou dossier de ce type | |
wilder@wilder-ThinkPad-T440p:~$ ls téléchargements | |
ls: impossible d'accéder à 'téléchargements': Aucun fichier ou dossier de ce type | |
wilder@wilder-ThinkPad-T440p:~$ ls Images | |
wilder@wilder-ThinkPad-T440p:~$ pwd | |
/home/wilder |