Posts

Luis Buñuel

Image
Pour les articles homonymes, voir Buñuel. .mw-parser-output .entete.cinema{background-image:url("//upload.wikimedia.org/wikipedia/commons/e/ea/Picto_infobox_cinema.png")} Luis Buñuel Données clés Nom de naissance Luis Buñuel Portolés Naissance 22 février 1900 Calanda, Aragon (Espagne) Nationalité  Espagnol  Mexicain (naturalisé) Décès 29 juillet 1983 (à 83 ans) Mexico (Mexique) Profession Réalisateur, scénariste Films notables Un chien andalou L'Âge d'or Terre sans pain Los Olvidados Nazarín Viridiana L'Ange exterminateur Belle de jour Le Charme discret de la bourgeoisie modifier Luis Buñuel est un réalisateur et scénariste mexicain, d'origine espagnole, né le 22 février 1900 à Calanda (Aragon, Espagne) et mort le 29 juillet 1983 à Mexico. Buñuel se fait connaître, dans les dernières années du cinéma muet, comme metteur en scène surréaliste d’avant-garde [ 1 ] , travaillant aux côtés de Salvador Dalí...

Robinson Crusoé

Image
Pour les articles homonymes, voir Crusoé. .mw-parser-output .infobox_v2:not(.disable-autoitalic) .entete,.mw-parser-output .infobox_v3:not(.disable-autoitalic) .entete{font-style:italic}.mw-parser-output .infobox_v2:not(.disable-autoitalic) .entete i,.mw-parser-output .infobox_v3:not(.disable-autoitalic) .entete i{font-style:normal} Robinson Crusoé.mw-parser-output .entete.universite{background-image:url("//upload.wikimedia.org/wikipedia/commons/4/42/Picto_infobox_book.png")} Auteur Daniel Defoe Pays Angleterre Genre Roman d'aventures Titre The Life and Strange Surprizing Adventures of Robinson Crusoe, Of York, Mariner Éditeur W. Taylo Date de parution 25 avril 1719 modifier   Illustration d'un livre de colportage anglais du XVIII e  siècle. Robinson Crusoé est un roman anglais écrit par Daniel Defoe et publié en 1719. L'histoire s'inspire très librement de la vie d'Alexandre Selkirk. Écrit à ...

Create header names on the csv file from the $_POST values

Image
3 I have a simple form that the contents are populated by pulling data from the database. I use a multi name option so I can loop through the data in PHP easily. The form may expand in future so I do not want to reuse code in the PHP end. I am making a csv from the outputted data and want to create header names on the csv file from the $_POST array() I can access the data but it populates a new row in the csv file instead of a new column.I would also like to output the data from the posted data to new rows. I have tried a few things which I have commented in the code of the result I got when I tried them. // create a file pointer connected to the output stream $output = fopen('php://output', 'w'); foreach ($_POST as $key => $value) { //This is where I want to add the $_POST va...