Good afternoon guys,
Next, I need to validate if one of two fields is filled, I tried to create an Attribute function with ValidationAttribute but it did not validate correctly, I think jQuery.validate does not recognize it.
Follow the cod...
My question is this:
In a table, I have a column named nomecliente .
In this table I have several records, however the column nomecliente of the records are different from each other.
How could I make a mysql_query UPDAT...
Recently I did some research on the internet and noticed that several people say that PDO does not protect 100% against injection, specifically with emulated preparations. If possible, someone gives me an example of SQL that would pass the PDO w...
I need a script to identify a number in a sentence.
Ex:
" Two weeks ago" - > number = 2
It can be even by replacement even. So:
If str contains two , replace ("two", 2)
Is there a node module that does this? I have already sea...
I have the following method an ROR application.
query_student = "SELECT name, registration, room FROM students WHERE registration = "+
params[:registration]+" AND password = "+params[:password]
@student = ActiveRecord::Base.connection.exe...
Hello, I noticed that there are generate-password libraries and password-generator for random password generation. But importing a library just for this might not be a good idea. Is there any way in the node itself to do this?
How do I identify a line break in a txt using javascript?
Example:
Essa é a linha 1
Essa é a linha 2
Essa é a linha 3
The file has these 3 lines and I want to put them in an array separated by the line break, array [0] is line 1, array [...
How to tell if your browser supports certain methods , properties and events
Checking whether an object querySelector , querySelectorAll , addEventListener , classList exists via Javascript.
I've been trying so...