mirror of
https://github.com/Floriansylvain/projet_programmation_web.git
synced 2026-08-19 11:43:16 +02:00
🚚 Moved class and scripts.
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
<?php
|
||||
$pdo = new PDO('mysql:host=localhost;dbname=projet_prog_web', 'root', 'root');
|
||||
|
||||
// dump_abes_thesesfr.csv
|
||||
|
||||
|
||||
$row = 1;
|
||||
if (($handle = fopen("dump_abes_thesesfr.csv", "r")) !== FALSE) {
|
||||
if (($handle = fopen("scripts/dump_abes_thesesfr.csv", "r")) !== FALSE) {
|
||||
while (($data = fgetcsv($handle, 10000, ";")) !== FALSE) {
|
||||
$num = count($data);
|
||||
echo "<p>---------------- " . $row . " -----------------<br /></p>\n";
|
||||
@@ -27,4 +27,4 @@
|
||||
echo "<p>" . $row['author'] . " | " . $row['title'] . "</p>";
|
||||
}
|
||||
$req->closeCursor();
|
||||
*/
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user