Advertisement
cyphric

Untitled

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