$inputdate = "";// value comes from button release form post from flash
$query = "SELECT * FROM news WHERE (date = '$inputdate')";
$result = mysql_query($query,$link_id) or die ("Query failed");
$data = mysql_fetch_row($result);
the problem is that $inputdate value is actually a mySql date
so it has the format 2003-07-10, and it has to kept that format.
whats happening is that php that php sees the value 2003-07-10 as a maths operation and not a string