passing variable through AJAX to PHP function getting undefined vairable but not understanding why the index is missing in the construct
问题 UPDATE - Wondering if it has to do with this line in the PHP function - $cid[] =''; I am getting the dreaded undefined index but even after reading SO answers about it, I am uncertain why the index isn't existing in my instance. I get that the index is missing which is why I see the error, I am not sure why the index is missing however. Is it the initial construction of the string that is causing the issue? Is it the way I am retrieving the $_POST['Cid'] ? When I var-dump I get the expected