src/help/demo/ToolsController.php
public function viewUsers()
	{
		$users = \DB::table('users')
			->select('id', 'name', 'email', 'created_at')
			->limit(1)
			->paginate(15);

		if($users)
		{
			tb($users);
			echo $users;
			return;
		}
		p('Unable to show users');

	}
public function viewUsers()
	{
		$users = \DB::table('users')
			->select('id', 'name', 'email', 'created_at')
			->limit(1)
			->paginate(15);

		if($users)
		{
			tb($users);
			echo $users;
			return;
		}
		p('Unable to show users');

	}
public function viewUsers ( ) { $ users = \ DB :: table ( 'users' ) -> select ( 'id' , 'name' , 'email' , 'created_at' ) -> limit ( 1 ) -> paginate ( 15 ) ; if ( $ users ) { tb ( $ users ) ; echo $ users ; return ; } p ( 'Unable to show users' ) ; }
Show users in a table
Show users in a table