Posts by Felipe • 59 points
5 posts
-
0
votes1
answer653
viewsQ: htaccess Mobile redirection
I wanted to redirect the desktop site to the mobile site using htaccess. I already managed to do, but I wanted to pass the desktop url to the mobile url so I could junk the conversion. Ex:…
-
0
votes2
answers64
viewsQ: Return Attribute group of a specific category
I have 3 tables: (http://sqlfiddle.com/#! 9/08b79f) tb_attributes, tb_atr_to_prod, tb_atr_to_cat. Table TB_ATRIBUTOS has all parent and child attributes. The TB_ATR_TO_PROD Table has all attributes…
-
2
votes4
answers1133
viewsQ: Return a sum in separate rows in mysql
I have a table of statement of deposit and withdrawal of some customers, follows the table: id_cliente|operação|valor | ----------+--------+------+ 51298 | 01 | 50,00| ----------+--------+------+…
-
0
votes0
answers65
viewsQ: API Rest returning 405 php
I am running the following code: <?php $data_string['MerchantOrderId'] = "2014111703"; $data_string['Customer']['Name'] = "Comprador Teste"; $data_string['Payment']['Type'] = "CreditCard";…
-
3
votes1
answer44
viewsQ: Show delete link only if there are no child categories
I have a database with the following columns: |id|id_pai|nome_categoria| +--+------+--------------+ |01| 0 | Eletronicos | |--+------+--------------+ |02| 01 | Notebook | |--+------+--------------+…