I'm trying to get deeper into namespace , but in the ways I'm trying, it's giving error . Here are two ways:
My class that falls within the classes / class.php directory
namespace minhaClasse;
class classe
{
public function t...
I have a question in the following case, do not refuse dates, I used just as an example:
Convert.ToDateTime("01/01/2016 00:00:00").ToShortDateString();
What is the origin of this method ToShortDateString() ?
Another example:
var...
I usually use the java.util.HashMap<K,V> structure even for small scopes with very few inputs (up to 50). But I've been wondering if the java.util.TreeMap<K,V> structure would not be better for this situation, taking in...
I will have a list of string in the following format: PERSON NAME ( LOGIN ), / p>
So, I would need to get only what would be within the parentheses, ie zackson.morgan .
How to do this?
How does the compiler do to implicitly all classes inherit from object ?
This is a behavior adopted in languages such as C #, Java and others.
public class Funcionario
{
}
public class Funcionario : Object
{
}
The above example...
I'm implementing a jquery form, and I want it when the validate executes and the class error is appended to the label leaving the red font, I'm going to send a picture representing how I want it.
<html>
<head>
<...
I'm studying php7 and I've seen somewhere that it's now possible to use external function variables, but they're in the same file. From what I remember it was something like this:
<?php
$agua = '1 Litro';
function listaDeCoisas($item1,$it...
I was taking a look at the W3Schools tutorial, where I'm teaching you how to use% type% input in Bootstrap.
According to one of the examples, I saw the following code:
<div class="checkbox">
<label><input type="ch...
My banner has an image of 11mb, while location is all ok, but I wonder if when uploading this application will leave the same heavy.
Thank you in advance.
I have the following elements:
<p class="id-task">5</p>
<p class="status-change">
<i id="test-task" class="fa fa-flask fa-lg" aria-hidden="true"></i>
</p>
I'm trying to get the number of <p cla...