<?php echo sha1("42know)you"); echo '<br>' . str_replace(' ', '', 'Hello Dear Brother how are you'); /// $LocationManager = new LocationManager(); $US = $LocationManager->getUserByLoginId("JohnSmith"); foreach ($US as $user) { $email = $user->getEmail(); } echo "<br/><br/><b>Data For user search by loginID</b><br/>"; echo "user Email: " . $email; echo "<br/><br/><br/><b>UserBy User Type Id Search</b><br>"; $LocationManager = new LocationManager(); $Locations = $LocationManager->getUserByTypeId(2); $userCount = count($Locations); if ($userCount > 0) { foreach ($Locations as $Locations) { $uid = $Locations->getUserId(); $fname = $Locations->getFirstName(); $lname = $Locations->getLastName(); $pwd = $Locations->getPassword(); $loginid = $Locations->getLogin(); $email = $Locations->getEmail(); $dob = $Locations->getDOB(); $language = $Locations->getUserLanguage(); $usertype = $Locations->getUserType(); $regdate = $Locations->getRegistrationDate(); $location = $Locations->getLocation(); $mediaid = $Locations->getMediaId(); $ratingid = $Locations->getUserRatingId();