31,028
edits
Ikenofopake (talk | contribs) No edit summary |
m (Reverted edits by Ikenofopake (talk) to last revision by Eldy) |
||
| Line 1: | Line 1: | ||
[[Category:ImportsEn]] | [[Category:ImportsEn]] | ||
{{TemplateDocDevEn}} | {{TemplateDocDevEn}} | ||
| Line 68: | Line 60: | ||
Copy/paste the content below in a new file and save as "import_client.php" under the directory /scripts | Copy/paste the content below in a new file and save as "import_client.php" under the directory /scripts | ||
<source lang="php"> | |||
<!doctype html public "-//W3C//DTD HTML 4.0 //EN"> | |||
<html> | |||
<head> | |||
<title>Title here!</title> | |||
</head> | |||
<body> | |||
<?php | |||
'''''$sql_host= "localhost";''''' | '''''$sql_host= "localhost";''''' | ||
| Line 127: | Line 119: | ||
$result_content=mysql_query($query_content,$dbid); | $result_content=mysql_query($query_content,$dbid); | ||
$requete=mysql_query("select * from societe_tmp ") or die("Erreur SQL : $query | $requete=mysql_query("select * from societe_tmp ") or die("Erreur SQL : $query<br/>".mysql_error()); | ||
$i=0; | $i=0; | ||
| Line 151: | Line 143: | ||
?> | ?> | ||
</body> | |||
</html> | |||
</source> | |||