Questions tagged as 'mvc'

1
answer

Undefined variable

I have a problem, I am following a php programming course and I put the information as it is, the problem is that it throws me an error when I send a variable call. User function <?php function Users(){ $db = new Conexion(); $sql...
asked by 20.01.2018 / 05:33
1
answer

Create a calculator using ASP.NET MVC

I'm doing a small exercise of operations consuming a Web Service, but I can not find a way to show the result in the view, I'm not using Model. Controller public ActionResult Index() { return View(); } [HttpPost] p...
asked by 09.01.2018 / 18:11
1
answer

Get public ip of the C # device

I'm trying to get the public ip of the team. In addition to additional information such as the type of browser and the location of the public IP obtained. One of my main questions is to know if there is a place where this information can be obta...
asked by 22.12.2017 / 02:45
1
answer

Web Installation

I am developing a website in .net c # mvc. currently the web works well, but before putting it in Real I wanted to do an installation test so I have registered a web in the IIS and I have copied the content of all the web that I currently have....
asked by 26.01.2018 / 14:00
1
answer

Select max ID in PHP

I am doing a simulation of a codeigniter system which works with MVC. I'm trying to pass the last ID of my "users" table to a field called "user_id " from my table "clients" (Since they are related to an FK) and everything so that from a...
asked by 06.12.2017 / 00:43
2
answers

ASP.NET MVC Web form: 404 error

Working with ASP.NET Core 1.1 Visual Studio 2017 - EntityFramework 1.0.0, Microsoft .Net Framework 4.7.02046, SQL Server 2012 LocalDB C # I am making my first experience with these tools. I follow the example ContosoUniversity developed in the M...
asked by 21.11.2017 / 00:31
1
answer

Change checkbox when running javascript

Hi, I am developing a project based on MVC that uses Knockout. In this, the events in a database are listed in a table. There is a field in the events that indicates if this is solved or not, and for that I use a checkbox. When in the view a cha...
asked by 04.12.2017 / 21:18
1
answer

Where should the data be validated, in the model or in the controller?

Initially we know that the validations from javascript must be obligatory, my doubt is in the driver or model. Normally I perform validations of laravel validation in the controller, taking into account that these validations perform the assi...
asked by 21.02.2018 / 22:24
1
answer

DAO / VO Custom?

Good evening, I'm doing a project with connection to MySQL, I'm using the design patterns: MVC, DAO / VO. I have several tables in my database, 11 in total, so I have 11 VO and 11 DAO, with which I make my queries and keep the information of...
asked by 26.01.2018 / 03:49
1
answer

SEARCH IN INDIVIDUAL COLUMNS - LARAVEL

I want to do a search in several columns. Something like that. But I do not know how to do it in Laravel since it is managed through MVC. The DATATABLES page suggests that you enter this code. $(document).ready(function() { // Setu...
asked by 09.11.2017 / 20:03