Software Archive
Read-only legacy content
17061 Discussions

Ajax-Php-Mysql Variables Problem

hakan_k_1
Novice
318 Views

Hi everyone,

I'm new at intel xdk and my english is bad. Sorry about that.

I sending ajax request to php and get records of mysql. But i dont know how to delete or update selected records. I dont know how to send key value of database to ajax from php. 

I tried ;
 echo "<form action='sil.php'> <input type='hidden'  value='".$key."' name='id' ><input type='submit' value='Submit'></form>";  But fail.

 

also tried :                 <a href="#" onclick="callPage('<? echo  $key; ?>')">Delete</a> but fail.

Should i try json for that?

Please help me,

Thanks. 

Hakan.

 

0 Kudos
1 Reply
Elroy_A_Intel
Employee
318 Views

I recommend trying JSON instead. Intel XDK doesn't support application with php reference successfully.

0 Kudos
Reply