SHOW:
|
|
- or go back to the newest paste.
| 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 | - | $account_id = mysql_query("SELECT account.id FROM account WHERE account.username= "<?php $username?>"");
|
| 11 | + | |
| 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 | ?> |