hi im working on a site as a hobby http://zaxza.awardspace.com/seocial/status.php?id=1
at the moment the ajax works fine but im having problems with the php
<?php
include("[connection page]");
if (isset($_GET['inputText']))
if ($_GET['inputText'] == ""){
echo ("What are you up to?");
}
else{
$id = "1"
echo ($_GET['inputText']);
mysql_query("UPDATE users SET status = '$_GET[inputText]' WHERE id = '$id' LIMIT 1");
}
?>
can anyone see a flaw im not seeing? any help would be greatly appreciated.
thanks