Posts by Rogerio Coelho • 141 points
7 posts
-
1
votes1
answer238
viewsA: Ionic 3 Prevent app Exit
Try: platform.registerBackButtonAction(() => { // ACAO que deseja que seja realizada. });
-
0
votes2
answers866
viewsA: Angular 4 App on Apache
Francis: I recently also had this difficulty. When building, you cannot perform using the ng build --env=Prod command? And check the generated html file, the href base of the document by default is…
-
1
votes3
answers513
viewsA: How to put the last row number of a Mysql table into a variable
Place: $linha = $query->fetch_array(MYSQLI_ASSOC); $variavel=$linha["NOME DA COLUNA DESEJADA"];
-
4
votes5
answers1268
viewsA: Import spreadsheet with text format using Phpexcel
Utilize: echo PHPExcel_Style_NumberFormat::toFormattedString($objWorksheet->getCellByColumnAndRow($col, $row)->getValue(), 'YYYY-MM-DD hh:mm:ss');
-
0
votes5
answers1268
viewsA: Import spreadsheet with text format using Phpexcel
It’s because when you get the date by getValue(), it returns a float. Knife: $objWorksheet->getCellByColumnAndRow($col, $row)->getNumberFormat()->getFormatCode(); By the way, which version…
-
1
votes1
answer2239
viewsA: How to write MYSQL data to two tables at the same time
Yes, you need in loop of for, use the ID generated by the last query. $ultimoID = mysql_insert_id(); I suggest to test that you check for each insertion in the base, if it was successful, adding up…
-
4
votes1
answer114
viewsA: Javascript variable Undefined
To get the value $("#id-playlist"), it is necessary that HTML is as: <input type='hidden' id="id-playlist" name='id-playlist' value='$consulta[id_playlist]'> The attribute was missing id =…