SHARE
TWEET

Untitled

a guest Jun 25th, 2019 60 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $uname=$_POST['username'];
  2.  
  3. $sql3="SELECT group_id FROM workgroup WHERE group_id IN (SELECT group_id FROM people WHERE username='mlopez')";
  4. $query3 = $dbh->prepare($sql3);
  5. $query3->execute();
  6. $data = $query3->fetch(PDO::FETCH_ASSOC);
  7. $group_id = $data['group_id'];
  8.  
  9. <form id="loginForm" method="post" action="<?php echo('welcome.php?user=' . $uname . '&group=' . $group_id);   ?>">
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top