retrieving data with php now works