Advertisement
Guest User

Untitled

a guest
Aug 27th, 2016
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. $check = DB::table('recruitmentform')->select('positionid')->where('candidateid',$cid)->get();
  2.  
  3. for ($i = 0; $i < count($check); $i++) {
  4. if ($check[$i] == $pid) {
  5. return redirect('/');
  6. }
  7. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement