All Questions

5
answers

Do not allow to record duplicate registrations

I'm developing a system using ASP.Net MVC and Entity Framework. How do I not allow equal data to be written to a table? For example, do not allow login: x to be registered more than once.     
asked on 05.05.2014 / 14:19
2
answers

Insert data into the database using mysqli

How do I insert this data into the database using mysqli : print $data->access_token."<br />"; print $data->username."<br />"; print $data->full_name."<br />"; print $data->id."<br />"; ... $conexao...
asked on 05.05.2014 / 08:23
2
answers

Error creating a MySQL table

I created a table in Power Designer as shown below create table BANCO ( COD_BANCO integer not null auto_increment, NOME_BANCO varchar(50), AGENCIA_BANCO integer, CONTA_BANCO integer, GERENTE_...
asked on 08.06.2014 / 16:50
1
answer

SQL Query on Loops is good practice?

Is query set with Where or other sql commands inside loops like Foreach good practice or not recommended at all? Is there a better way to handle the data without having to make so many calls in the database?     
asked on 30.07.2014 / 14:11
2
answers

How to force cache cleaning in my visitors' browsers

I usually update my site style sheet (CSS) a lot. What happens is that my visitors see no differences. Is there any script or something that forces cleaning? Example: On next access the cache will be cleared. Some cookie that makes the cache las...
asked on 18.06.2014 / 06:00
2
answers

How to organize by proximity using PHP?

I have some locations registered in the database and each of them has the longitude and latitude. When the user enters the site, I ask him to report his geolocation. I'm using the library PHPGeo to compute the distance between each, but how ca...
asked on 28.05.2014 / 17:39
2
answers

ASP.NET Core IsDevelopment

When creating a project with dotnet cli / em>    dotnet new razor -o RazorPagesContacts How do I change the environment variable to developer mode when running the application using dotnet run . Since no Startup.cs I h...
asked on 20.12.2017 / 16:15
1
answer

How to kill, remove or not initialize SQL Server master bank?

I woke up in the morning and gave a "Run" on top of the " cotacao " bank, the bank I'm currently working on. Then the login screen entered and when I logei the bank that received the tables was the master and not the " cotacao "....
asked on 22.11.2017 / 11:06
1
answer

What is the difference between viewDidLoad and awakeFromNib?

What is the main difference between viewDidLoad and awakeFromNib in Swift development for iOS?     
asked on 03.11.2017 / 14:31
2
answers

How to use JavaScript to lock a key on the keyboard and display alert in the field on the recommended key?

How do I make a JavaScript to block the use of commas , within the field and at the same time also make an informed notification that only . is allowed and also verify that what the user entered is correct. I do not have much Ja...
asked on 01.11.2017 / 20:10