eckendoerffer commited on
Commit
bb4be18
1 Parent(s): b4262ce

Delete extract_news/functions_mysqli.php

Browse files
Files changed (1) hide show
  1. extract_news/functions_mysqli.php +0 -29
extract_news/functions_mysqli.php DELETED
@@ -1,29 +0,0 @@
1
- <?php
2
-
3
- #####################################################################
4
- ###################### Base fonctions mysqli ####################
5
- #####################################################################
6
-
7
-
8
- $mysqli = new mysqli("[host]", "[user]", "[passwd]", "[database]");
9
- if ($mysqli->connect_errno) {
10
- echo "Failed to connect to MySQL : (" . $mysqli->connect_errno . ") " . $mysqli->connect_error;
11
- }
12
-
13
- function mysqli_return_number( $mysqli, $req ){
14
-
15
- $row_cnt = 0;
16
- if ( $result = $mysqli->query( "$req" ) ) {
17
-
18
- $row_cnt = $result->num_rows;
19
- $result->close();
20
- }
21
- return $row_cnt;
22
- }
23
-
24
-
25
-
26
-
27
-
28
-
29
- ?>