MYSQL Data -> PHP arrays -> Javascript (or Jquery) How can I pass the data with JSON ?
- by Alex
I am starting with a new site (it's my first one) and I am getting big troubles !
I wrote this code
<?php
include("misc.inc");
$cxn=mysqli_connect($host,$user,$password,$database) or die("couldn't connect to server");
$query="SELECT DISTINCT country FROM stamps";
$result=mysqli_query($cxn,$query) or die ("couldn't execute…