All Questions

1
answer

Select row and bring the values

I have this table function highlight(e) { if (selected[0]) selected[0].className = ''; e.target.parentNode.className = 'selected'; } var table = document.getElementById('table'), selected = table.getElementsByCla...
asked on 18.07.2017 / 14:30
1
answer

Specify language with MYSql - STR_TO_DATE

I have the following problem. I need to parse a text to a date with MySql . The problem is that the text to be parsed is of the style: " 03-ene-17 ". I used the STR_TO_DATE function in the following way: STR_TO_DATE('03-ene-17', '...
asked on 18.07.2017 / 08:09
2
answers

using Split in Python

In my program, my Raspberry receives a call for a GSM module and for the serial receipt RING +CLIP: "633555999",161,"",0,"",0 every time it gives a tone (I've invented the number). What I need is that of all this string that sends me, se...
asked on 19.07.2017 / 15:27
2
answers

asp classic SQL Injection [closed]

I have been looking for functions in% classic ASP to avoid sql Injection and from what I have seen there is no function. Yes I have seen that they exist in .NET but I have not found anything for ASP classic. Is there really...
asked on 20.07.2017 / 06:57
1
answer

How could a search engine in laravel 5.1?

Good friends, the question is simple, I need to do a search engine in laravel but the way I'm doing it, complicates me a bit because I'm doing the following: currently in the controller I have this: public function index(Request $request) {...
asked on 16.07.2017 / 03:31
3
answers

Angular access 4 to php does not receive the JSON

Good day, I have a problem, I have my file JSON by xampp, and effectively this code extracts the data I need in JSON . In the part of PHP , if you receive files JSON and insert them into the database very well, but when...
asked on 26.07.2017 / 22:39
3
answers

Change Textbox BackGround from Javascript

Any way to change the background color of a asp:Textbox with the event OnClientClick of a asp:Button from JavaScript unused: document.getElementById("un_textbox").style.background = '#f88067'; The button is defin...
asked on 27.07.2017 / 14:31
1
answer

check the existence of several files in javascript

The following SCRIPT checks the existence of files whose names are in an Array, if there is no file it shows a warning The output is made through a table. var table = document.getElementById('dataTable'); var pagina = ['pepito.html', 'I...
asked on 28.07.2017 / 19:19
1
answer

Access a variable declared in a class in PHP

I have a simple doubt about PHP. I have the following code in a file called gato.php: class Animal{ public $foodLevel=5; } class Cat extends Animal{ } Then I have another file in which I have: include_once "gato.php"; $susi = new Cat(...
asked on 29.07.2017 / 18:17
2
answers

Limit length of a text

If I have a div #div {width:300px;height:200px;overflow-y:scroll} The user will add a text with prompt , which will be added as a paragraph element with: element.createElement("P") How can I limit that if the user enters a...
asked on 27.07.2017 / 22:30