Are you getting any feedback from the PHP script? What does it echo? Any errors in the PHP script? What is the result of the select in the PHP script?
If this post answers your question or helps, please mark it as such.
Greg Lafrance - Flex 2 and 3 ACE certified
Flex Training and Support Services
well my php script was written by one of my frnd........... he is sure that it is correct........bt i dont knw how to check the echo statements of script.......at runtimee... to see whether it showss... the query inserted.....
is there any way in flex ???
Your data is send via POST. You could use Charles for debugging and send data from the browser. However if that is not familiar fake it from browser and send it via GET somthingl like:
$name = mysql_real_escape_string($_GET["username"]);
$roll = mysql_real_escape_string($_GET["rollnumber"]);
$query = "INSERT INTO student (name , roll) VALUES ('$name', '$roll')";
echo "sucessfully inserted";
echo" error occured";
If you get here with sucess the browser will display the xml with playe name and rollnumber. If that is happening than you have a problem sending the username/rollnumber from flex.
well i hav checked the script using HTML its working finee.....wat kind of prblm flex has in sending data??help me i m going insanee
thanx every onee...........i hav solved the problem.......
I use URL request Manually instead for things like this....i prefer it