Advertisement
Guest User

asD

a guest
May 18th, 2014
221
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.64 KB | None | 0 0
  1.   $countrycitytest = LocationTest::query()
  2.                 ->where("cc_fips = '$enteredcountry'")
  3.                 ->andWhere("full_name_nd = '$enteredlocation'")
  4.                 ->execute();
  5.  
  6.  
  7.                
  8.  
  9.             if (!$countrycitytest) {
  10.                 $this->flash->error('<b>Location  <strong> ' . $enteredlocation . ' </strong> is not a place in ' . $enteredcountry . ' </b>  
  11.                 Are you sure you have entered the name correctly?  If you think this is a mistake, please contact us at <a href="mailto:bugs@touristigo.com">bugs@touristigo.com</a>  ');
  12.                 return $this->forward("location/new");
  13.             }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement