Hi,
I m new to novice to construct 2, I'm using constuct r178 release.
I have created one capx file for the example .
basically file is used to send textbox value to the php page via POST method and that data is stored into the database.
By doing so I am facing some error because of that I'm not able to retrieve the data in the php file.Please suggest me the solution
Here is the php code for the reference
<?php
/*db connection menthod*/
header("Access-Control-Allow-Origin: *");
$query = mysql_query("insert into score (`score`)values('".$_POST['score']."')");
if($query)
echo "done";
else
echo "notdone";
?>
/*getting error of */
Notice: Undefined index: score in
Please suggest your opinion.