I want to update a div that contains the credits of a client, as soon as I update the amount of credits in the Bank and I'm using setInterval :
setInterval(function(){
ver_creditos();
}, 60000);
Then I saw the function of...
I have a numeric type input, which should only receive numbers (obvious) .
However, some browsers let the user type alphanumeric characters.
But the problem is not just that.
I need to display 0 on the left as long as the input value h...
What is the correct way or best practice for representing the relationships of a resource in json? As an example, I have the tables contrato , representante and empresa and the relationships contract N: 1 representative and...
What's the difference between the following components?
<button type="button">Click Me!</button>
<asp:button ID="cmdAvancar" runat="server" >Click Me!</asp:button>
<input type="submit" value="Submit">
I say for...
Suppose I have the following list:
frutas = ['abacate', 'mamão', 'laranja', 'uva', 'pêra']
I need to capture one of these elements of list randomly.
How would I do this in Python?
I wonder if it is possible to use AND within a INNER JOIN , eg:
SELECT *
FROM tab1
INNER JOIN tab2
ON tab2.id2 = tab1.id1
AND tab2.camp1 = 'valor'
INNER JOIN tab3
ON tab3.id3 = tab2.id2;
I gave a rather silly exa...
I would like to know if I should use the third value of bindValue() / bindParam() ?
For example:
$resultSQL->bindValue(1, $email, PDO::PARAM_STR);
Or there's no need for me to use:
$resultSQL->bindValue(1, $email);...
The current storage location for laravel is / laravel / storage / app / public . How do I switch to / laravel / public . I tried editing filesystems.php but I was not successful:
Controller store function:
public function store(Request $r...