Posts by Matheus Velloso • 382 points
16 posts
-
1
votes2
answers625
viewsQ: Interacting with multidimensional array - PHP
I would like to know how to interact with the multidimensional array without using foreach. $arr1 = array('id' => 1, 'nome' => 'Joao'); $arr2 = array('id' => 2, 'nome' => 'Maria');…
phpasked Matheus Velloso 382 -
2
votes3
answers436
viewsQ: Event Routine - PHP
Hello, I would like to know how to make a routine that every Monday, run a method in my system. Thanks
-
1
votes1
answer116
viewsQ: Custom Element Web Forms
How can I make a custom element in aspx that I inherit DropDownList? I wish the element would stay that way when I call it: <componente:DropPersonalizado runat="server"…
-
2
votes1
answer279
viewsQ: Enviar E-mail - Wamp e Codeiginiter
I’m trying to send the email via localhost by codeiginiter. Inside my Ibraries folder, I created a "Phpmailer" folder to put the Phpmailer file. Not sending the email, is giving the following error:…
-
1
votes2
answers372
viewsQ: Set field to null - Codeigniter
Hello, beauty? I’m making a update in a table and I am sending the data array. However, I have a date field. Every time I update, it sends the field as 'dtnascimento' = ''. When this data arrives in…
-
3
votes2
answers3670
viewsA: How to pass value within the modal with PHP
Oh, from what I understand, this is what you do. Next: 1st: In this step you call the modal and, in the method onclick, you pass the id you want. You will put on the delete link button: <a…
-
1
votes3
answers8039
viewsA: Search field inside select box how to do?
Has a js plugin calling Select2. Take a look at the documentation of it. Just import the guy’s library: <link href="//cdnjs.cloudflare.com/ajax/libs/select2/4.0.0/css/select2.min.css"…
-
2
votes1
answer282
viewsQ: Check checkbox status - bootstrap switch
I’m using bootstrap-switch in my checkboxes and I would like to check the status of my checkbox loading the page using the library itself.…
-
1
votes0
answers390
viewsQ: Return Json from an Object List - WCF C# . NET VS 2010
Hello, I want to return a list of objects in json by wcf. When I put to return the string, it returns peacefully. However, when I return the list, the error. The error that shows is an error by…
-
0
votes2
answers78
viewsA: Wait variable to be set to "open signaller"
// quero que perceba que é só um exemplo. Adapte para o seu código var variavel = 0; setaValorEmX(variavel, function(erro, resultado){ //verifica se retornou erro da funcao assincrona if(erro){…
-
0
votes1
answer31
viewsA: Error running Field Checklist
// verifica se existe a posição no array if (array_key_exists("data", $funcionario_materiais_novo[$i])) { // seu codigo $funcionario_materiais_novo[$i]['data'] = date('Y-m-d',…
-
1
votes3
answers799
viewsA: Undefined index error: user when submitting a POST form
Your form is in the POST parameter and you’re waiting, according to your script, a $_GET parameter. That’s why you’re giving an undefined.
-
3
votes1
answer77
viewsA: Software with cost. Help?
If you charge the way you’re thinking of doing it, it’s not going to be cool for the user you’re buying. Imagine if each month comes an invoice of a value?! Wouldn’t it be nice. Regarding the form…
-
0
votes1
answer166
viewsA: Add data via Codeigniter with Ajax
Little past information. Still, I’ll try to help: <script> $(document).ready(function() { $("#botao").click(function(e){ e.preventDefault(); var dados = $('#formulario').serialize(); $.ajax({…
codeigniteranswered Matheus Velloso 382 -
4
votes1
answer163
viewsA: Transform XML contained in a json string
$json = json_encode(simplexml_load_file('arquivo.xml'));
-
1
votes2
answers601
viewsQ: Change time and end date according to start
Each time you select a start time for the event in Google Calendar, it adds a 1 final time. For example: If you put 12:00 on 25/03 at the beginning, at the end will appear 13:00 on 25/03. However,…