Advertisement
cyphric

raf

Nov 7th, 2012
40
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.40 KB | None | 0 0
  1. <?php
  2. function RAF(){
  3. $dbc = mysql_connect("hostname","username","pw");
  4. if (!$connect)
  5.    {
  6.    die('Couldn\'t connect. Something wrong with the name/pw');
  7.    }
  8.    
  9. mysql_select_db("DBNAME", $dbc);
  10.  
  11. $account_id = mysql_query("SELECT account.id FROM account WHERE account.username= "<?php $username?>"");
  12.  
  13. mysql_query("INSERT INTO account (recruiter)
  14. VALUES ("<?php $account_id"?>
  15. }
  16.  
  17. RAF();
  18.  
  19. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement