Geeky subject

Ok I know that will sound stupid to people more geeky than me and nerdy to people less geeky, but:
Why can’t flash communicate with SQL without a trnalsating php in the middle? Isn’t this a waste of ressources, plus, an uneeded complication?