09-10-2017, 03:35 PM
I don't get the implementation well, and having issue with the form.
This is what i did;
on join.php
<pre></pre>
and on _join.php
<pre></pre>
i don't understand this line
This is what i did;
on join.php
<pre>
Code:
$ref = Input::get('refid');
$name = $db->query("SELECT username FROM users WHERE id = ?",array($ref))->first();
and on _join.php
<pre>
Code:
<label for="refer">Refer by* (If no referee enter "Semilore")</label>
<input class="form-control" type="text" name="refer" id="refer" placeholder="Enter Referee Username" value="<?php if (!$form_valid && !empty($_POST)){ echo $refer;} ?>" required >
i don't understand this line
Code:
<?=$name-/>username>”></p> </div><!-- .bbp-reply-content --></div><!-- .reply --> </li><!-- .bbp-body --> <li class=