フレックスで入力値をPHPに出力したいと思います。PHPでのフレックス入力と出力
マイフレックスコード...
<mx:HTTPService id="sendReq" result="google(event)" showBusyCursor="true" method="POST" url="http://localhost/search/index.php" useProxy="false">
<mx:request xmlns="">
<keyword>
{keyword.text}
</keyword>
</mx:request>
</mx:HTTPService>
<mx:TextInput text="" id="keyword" left="130.5" top="89" right="228.5" height="40" fontSize="20" fontWeight="bold" borderStyle="outset" focusThickness="0"/>
<mx:Button click="sendReq.send();" id="search" label="search" right="133.5" top="91" height="40" width="75" alpha="1.0" fillAlphas="[1.0, 1.0]"/>
私のPHPコード、
$keyword = $_POST['keyword'];
echo $keyword;
しかし、私は、Flexからキーワードを受け取ることができないのです。誰も私が得ることができないここにエラーを見つけることができます。
Majuscule reply mate、これは私の将来のコーディングでは非常に便利な時間を節約することができます。 – Kevin