daily pastebin goal
13%
SHARE
TWEET

Untitled

a guest Jun 13th, 2018 48 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function getListings($email, $firstname, $lastname)
  2. {
  3. $con = mysqli_connect("***.***.***","name","password","DB");
  4. $qu = $con->prepare('SELECT email, password, skills, firstName, lastName, address, apt, city, state, zip, country, phone, hourly_rate, bio, profile_pic, proposal FROM users WHERE username=? LIMIT 1');
  5. $qu-> bind_param('s', $username);
  6. $qu->execute();
  7. $qu->bind_result($email, $password, $skills, $firstname, $lastname, $address, $apt, $city, $state, $zip, $country, $phone, $hourlyrate, $bio, $pic, $proposal);
  8. $qu->fetch();
  9. $qu->close();
  10. }
  11.    
  12. getListings($firstname, $lastname, $email);
  13.  
  14.              <div class="sidehead">                
  15.                   <strong>
  16.                     <?php
  17.                     echo ($firstname . " ");
  18.                     echo $lastname;
  19.                     ?>
  20.                       </strong>
  21.                     </div>
  22.  
  23.                 <div class="sideheademail sidehide">                    
  24.                    <?php echo ($email . " "); ?>
  25.                 </div>
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