Hello everyone! I want to insert some data into a mysql
database table so i have a httpservice called postBlog which does
I pass 4 parameters to the php script through this i.e.
title,body,username,keywords. A button called submit is used to
call postBlog.send(). I have a result event which simply alerts the
user that the blog has been entered successfully. When i click the
button after a few seconds the alert message appears. However no
data is entered into the database.
//add the user to user table
$Query ="INSERT INTO dbblog (title, body, keywords, username)
VALUES ('$title', '$body', '$keywords', '$username')";
$Result = mysql_query( $Query );
I have no idea why this is not working. I think the php
script is correct so the problem must lie with my flex code. Im
really at a dead end and was wonderin if anyone has got any ideas
where the problems lies? I using flex builder 2 and Xampp is where
my php and msql are locatated if thats makes any difference.