09-10-2017, 06:41 PM
Thank you for your time, it all works well now.
The issue am having now was when the page was accessed directly without the refid url (e.g. /users/join.php) the page is showing the following error;
1) Notice: Undefined offset: 0 in C:\xampp\htdocs\semilore\users\classes\DB.php on line 155
DB.php line 155 has `public function first(){
return $this->results()[0];
}`
2) <br /><b>Notice</b>: Trying to get property of non-object in <b>C:\xampp\htdocs\semilore\users\views\_join.php</b> on line <b>50</b><br />
line 50 has
Please how can i resolve that?
The issue am having now was when the page was accessed directly without the refid url (e.g. /users/join.php) the page is showing the following error;
1) Notice: Undefined offset: 0 in C:\xampp\htdocs\semilore\users\classes\DB.php on line 155
DB.php line 155 has `public function first(){
return $this->results()[0];
}`
2) <br /><b>Notice</b>: Trying to get property of non-object in <b>C:\xampp\htdocs\semilore\users\views\_join.php</b> on line <b>50</b><br />
line 50 has
Code:
<input class="form-control" type="text" name="refer" id="refer" placeholder="Enter Referee Username" value="<?=$name->username?>" required >
Please how can i resolve that?