The following warnings occurred:
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/global.php(961) : eval()'d code 26 errorHandler->error
/global.php 961 eval
/showthread.php 28 require_once





× This forum is read only. As of July 23, 2019, the UserSpice forums have been closed. To receive support, please join our Discord by clicking here. Thank you!

  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
User refer url
#5
I don't get the implementation well, and having issue with the form.

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();
</pre>


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 >
</pre>


i don't understand this line

Code:
<?=$name-/>username>”></p>            </div><!-- .bbp-reply-content --></div><!-- .reply -->                        </li><!-- .bbp-body -->    <li class=
  Reply


Messages In This Thread
User refer url - by kingnath - 09-08-2017, 11:09 PM
User refer url - by mudmin - 09-09-2017, 12:24 PM
User refer url - by kingnath - 09-10-2017, 10:03 AM
User refer url - by mudmin - 09-10-2017, 12:16 PM
User refer url - by kingnath - 09-10-2017, 03:35 PM
User refer url - by mudmin - 09-10-2017, 04:40 PM
User refer url - by kingnath - 09-10-2017, 06:41 PM
User refer url - by mudmin - 09-10-2017, 08:22 PM
User refer url - by kingnath - 09-10-2017, 11:12 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)