data from iPhone to php
<p>i have this in Xcode:</p>

<pre><code>NSString *post =[[NSString alloc] initWithString:@"message";
</code></pre>

<p>this string i want to send to myadress.php. anybody help me with some good reference or code please.</p>

<p>this is my php side:</p>

<pre><code>&lt;?

$connect = mysql_connect ("$dbserver", "$dbuser", "$dbpass");
mysql_select_db("$dbname") or die(mysql_error());

$feed = $_GET['feed_message'];

$login = mysql_query("INSERT INTO feedback SET feed_message ='".$feed."'", $connect) or die(mysql_error());


mysql_close($connect);

?&gt;
</code></pre>
