$query = "SELECT * FROM users WHERE username = 'username' AND password = 'password'";
$query = "SELECT * FROM users WHERE username = '$username' AND password = '$password'";
example of a working login system with correct flex&php code just to make sure:
so that tutorial
will work in flex 3?
yep, it was built in flex 3
oops i meant 4
i am now getting this error:
[RPC Fault faultString="Error #1096: XML parser failure: Unterminated element." faultCode="Client.CouldNotDecode" faultDetail="null"]
how do i fix?
Access the URL from browser and check. There seems to be an error in XML structure which is returned. If you still face issues, please share your MXML code.