score:1

your parameter is missing in ajax

$.ajax({
    url : "http://localhost:8888/ClicksChart/ckbox.php?CatId=<?php echo $_GET['CatId'];?>",
    type : "GET",
    dataType:'json',
    success : function(array){
        console.log(array);

        alert('Welcome');

score:1

You forgot to write echo

url : "http://localhost:8888/ClicksChart/ckbox.php?CatId=<?php echo $_GET['CatId'];?>",

score:1

You are missing an '=' and an 'echo'

$.ajax({
url : "http://localhost:8888/ClicksChart/ckbox.php?CatId=<?php echo $_GET["CatId"];?>",

Related Query

More Query from same tag