Posts by Tiago de Oliveira • 11 points
5 posts
-
-2
votes1
answer63
viewsQ: How can I rearrange this array?
I have the following array: $array_atual = array ( 'id_item' => array('1', '3'), // 'id_item', 'id_item' 'cantidad' => array('15', '10') // 'cantidad', 'cantidad' ); I’d like to leave it this…
-
-1
votes1
answer18
viewsQ: How to insert an array of unknown size within the database?
I’m trying to insert into the database several rows of data that comes from an array. I’ve never done anything like this, because I always insert one line at a time. I wonder what I’m doing wrong?…
-
0
votes1
answer55
viewsQ: How to send only the quantity of products that were selected in the checkbox?
I displayed a table of items and in this table I added a checkbox for each item and a field to pick the quantities of each item. I’m managing to send to PHP only the items marked in the checkbox…
-
0
votes1
answer145
viewsQ: Catch local time with JS, save to Mysql, show with PHP
I’m taking the local time with Javascript in the view, and sending it to the database. The database is storing this date and time as text. The date and time thus arrives in the database, e.g.: Sun…
-
1
votes2
answers57
viewsQ: Information is not enough in the value attribute
The information that I take from the user model (getTimeLine method) reaches the homeController, but does not reach the homeView in the input type Hidden in the value attribute. public function…