Skip to content

Instantly share code, notes, and snippets.

View saraclima's full-sized avatar

Sara Lima saraclima

  • https://www.linkedin.com/in/climasara/
View GitHub Profile
<h1>Uploader fichier</h1>
<form action="upload.php" method="post" enctype="multipart/form-data">
<input type="file" name="fichiers[]" multiple="multiple" /> <br>
<input type="submit" value="Envoyer le fichier" />
@saraclima
saraclima / interagir_sql_sara.sql
Created November 8, 2017 16:43
Quete BDD numero 2
-- MySQL dump 10.13 Distrib 5.7.20, for Linux (x86_64)
--
-- Host: localhost Database: db_name
-- ------------------------------------------------------
-- Server version 5.7.20-0ubuntu0.16.04.1
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;
@saraclima
saraclima / mcd.png
Last active November 6, 2017 15:21
Intro
mcd
@saraclima
saraclima / Personne.php
Created November 3, 2017 11:18
Quete_Poo
<?php
class Personne{
public $nom;
public $prenom;
public $adresse;
@saraclima
saraclima / xdebug.php
Created November 2, 2017 12:48
xdebug
<?php
/**
* Created by PhpStorm.
* User: romain
* Date: 22/02/16
* Time: 10:13
*/
$students = [
"Emmanuel" => 42,
@saraclima
saraclima / promo.sql
Created October 23, 2017 14:45
Quete SQL création de tableau - terminal
-- MySQL dump 10.13 Distrib 5.7.19, for Linux (x86_64)
--
-- Host: localhost Database: sara_l_wcs_pariscode
-- ------------------------------------------------------
-- Server version 5.7.19-0ubuntu0.16.04.1
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;
@saraclima
saraclima / form.php
Last active October 23, 2017 15:06
Quete Form PHP
<form action="indexform.php" method="POST">
<div>
<label for="nom">Nom:</label>
<input type="text" id="nom" name="nom" value="<?php if(isset($_POST['nom'])) echo $_POST['nom']; ?>" >
</div>
<div><p class="error">
<?php if(isset($errors['error_nom'])) echo $errors['error_nom']; ?>
</p>
</div>
@saraclima
saraclima / footer.php
Last active October 16, 2017 08:21
Cornac
<!Doctype html>
<html>
<head>
<meta charset="utf-8" >
<meta name="viewport" content="width=device-width" >
<title>Sauron's Eye</title>
<link rel="stylesheet" href="style.css">
@saraclima
saraclima / cssquete.html
Last active October 4, 2017 12:03
CssQuete
<!DOCTYPE html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>FindThePrecious</title>
<link rel="stylesheet" type="text/css" href="stylecssgandalf.css">
</head>