Hi, I used the phpmyadmin database to store using wampserver server, but it doesn't work here are the vi and php files for connection.
<?php
//mysql_connect —Ouvre une connexion à un serveur MySQL
$con=mysql_connect("localhost","root","");
//mysql_select_db — Sélectionne une base de données MySQL
$db=mysql_select_db("bd");
//déclarer des variables
$nom=$_GET["n"];
$prenom=$_GET["p"];
//mysql_query — Envoie une requête à un serveur MySQL
$res=mysql_query("insert into client values('$nom','$prenom')");
if($res)
{ }
?>