Questions tagged as 'view'

3
answers

Display DateTime field in View with hours, minutes, day / month / year?

How to manipulate datetime and show in view in the following format? HH:MM dd/MM/aaaa     
asked by 18.03.2015 / 14:37
1
answer

Save visit cookie on page

Hello, I am using a php mysql code that counts the visits of each page, however whenever the page is updated it adds one more visit, I would like a help with my code so that it saves the cookie for a certain time before tell a new visit. PS: E...
asked by 02.06.2017 / 23:11
1
answer

How to properly insert a Bootstrap navbar in the Codeigniter view?

I'm learning Codeigniter and would like to know what or correct ways to insert a navbar in my view taking into account that it will be inserted by all the views in the system. My question is what directory to write the navbar and how to c...
asked by 22.06.2016 / 16:53
2
answers

How to pass variables coming from post, save them until the last step and show all values

I have a form that is divided into 10 parts, that is, I'm going to save via post the variables from page to page. However, if you refresh the page all previous variables are lost. How can I solve the problem? Outline: Phase 1 - phase1_v...
asked by 30.09.2015 / 11:17
2
answers

Views with php transition with the controller

I'm new to php, so I've got a lot of it. Even because I have used sublime text with apache and php installed separately (use Ubuntu with OS). Well my question regarding views and php is: I'm not understanding how to transition the controller to...
asked by 17.07.2015 / 01:33
1
answer

Select Betweeen on CakePHP data

I'm trying to select records in a date range. $mesAtual = $this->requestAction(array('controller' => 'compras', 'action' => 'comprasMes'), array('condicoes' => array('Compra.status' => array(1,2), 'Compra.data BETWEEN ? AND ?' =...
asked by 14.07.2015 / 12:20
1
answer

What is the best way to organize views in Django?

I have views.py in my study project where I group it from methods to represent views (methods that return HttpResponse), to generic class-based views (such as DetailView, ListView). I was thinking: what are the best practices for organizing v...
asked by 06.02.2015 / 00:52
1
answer

MVC - Doubt about controller and view PHP

I'm studying MVC a few days ago and I came across a question, I need a view to do registration, but this view would not do anything just send the data to my doubt is that I need a control just to put this view and another to register it?     
asked by 14.06.2015 / 23:11
1
answer

Error when modifying column of a View with calculation

I need to insert a calculation column in this view below, but the message    Msg 205, Level 16, State 1, Procedure ConsolidatedStudyBaseSifix, Line   4 [Batch Start Line 9] All queries combined using a UNION, INTERSECT   or EXCEPT operator mu...
asked by 06.09.2018 / 17:35
2
answers

Create a VIEW or a new TABLE in Postgres?

Hello! I have a situation ... I have a table that will have about 3 * 10 ^ 12 lines (3 trillion), but with only 3 attributes. In this table you will have the IDs of 2 individuals and the similarity between them (it is a number between 0 and 1 th...
asked by 06.03.2018 / 11:55