Skip to content

Instantly share code, notes, and snippets.

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
mysql> SELECT firstname FROM wizard WHERE firstname LIKE 'h%';
+-----------+
| firstname |
+-----------+
| harry |
| hermione |
+-----------+
2 rows in set (0.00 sec)
@ctx-64
ctx-64 / formulaire
Created October 7, 2019 14:10
quete php
<?php
$errors = [];
if ($_POST) {
$userName= $_POST['name'];
$lastName= $_POST['last_name'];
@ctx-64
ctx-64 / tableau indiana
Created September 30, 2019 13:01
quete php 4 tableaux // boucles
<?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) {
@ctx-64
ctx-64 / message 1
Created September 25, 2019 12:27
quete php chaine
<?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 */
@ctx-64
ctx-64 / veille
Created September 25, 2019 12:14
quete semaine 2 veille
/* 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
@ctx-64
ctx-64 / indiana jones
Created September 24, 2019 09:55
php 2
<?php
$title = "indiana jones";
$seen = true;
$year = 1989;
$note = 4.6;
echo $title;
echo $seen;
echo $year;
@ctx-64
ctx-64 / tree
Created September 11, 2019 20:06
terminal 2
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
@ctx-64
ctx-64 / commande
Created September 11, 2019 15:11
quete terminal 2
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
@ctx-64
ctx-64 / quete terminal1
Created September 10, 2019 11:40
quet terminal1
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