Pass Javascript Variable To Php With Postgresql