I'm organizing some list objects by their names, but I want to sort them without having to page them. The code that I have is the following:
if ($filter['sort'] == 'name_asc'){
return Employee::orderBy('first_name', 'ASC')->paginate(100...
My problem is that I want to obtain specific events according to a value, and all the information of the events is retrieved from the db successfully from a file with the following code:
header('Content-Type: application/json');
$conexion = ne...
I use php and codeigniter, I try to enter data and I get this:
An uncaught Exception was encountered
Type: ParseError
Message: syntax error, unexpected '->' (T_OBJECT_OPERATOR)
Filename: C:\xampp3\htdocs\CesdeCodeIgniter\application\model...
Good morning, my problem is that I want to upload changes to my remote repository but in Git Bash it does not allow me to launch the following error.
With the GitHub Desktop application it allows me to upload changes in a normal way but in th...
I need if you can help me with the following I need to multiply all those numbers that are less than 0, entering it by keyboard, and go accumulating the multiplications.
Thanks
package control6;
import java.util.Scanner;
public class Contro...
I'm doing a query on mysql, which should make me based on a given id and a range of dates, bring me the records between those dates. I'm starting to learn mysql so the most sure thing is that I'm formulating everything wrong.
This is being im...
Good day community of StackOverflow!
I have been researching on the internet about the official Arduino software to determine whether or not it can emulate hardware, that is, I need to know if the Arduino software emulates in a virtual enviro...
I need to be able to center this image in the middle of my UIBarButtonItem
Currently seen:
what I would like
This is my Swift code
func setupNavigationBar(showBack:Bool, showMenu:Bool, showFilters: Bool)
{...
I'm constantly having this error and I do not know how to fix it.
This is the code:
import numpy as np
import itertools
import random
g_row=10
g_col=10
m_prob = np.ones((g_row, g_col), dtype=np.int)
s_acomulada = list(itertools.accumulat...
Dear I have a form that when someone enters from an android phone with predictive text this at the time of entering the rut or dni begins to fill and duplicate automatically. I want to know how to avoid it
<form method="POST" target=...