/ Published in: Objective C

pass variables from iOS app to web site (synchrone version)
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
//SommeBD and other are int hostString = [hostString stringByAppendingString:post]; if(error) { NSLog(@"%@", [error localizedDescription]); } else { NSLog(@"Data had loaded successfully"); } /* In php code <?php $identifiant = $_GET['identifiant']; $sommeBD = $_GET['sbd']; $sommeR = $_GET['sr']; $sommeV = $_GET['sv']; $sommePbG = $_GET['spg']; updateBdd($identifiant, $sommeBD, $sommeR, $sommeV, $sommePG); echo '0'; ?> */
Comments
