Questions tagged as 'php'

2
answers

Problem uploading ajax and php files

I do not know what is happening but I can not upload files with php / ajax does not recognize the index file, My code: Html: <div class="wrapper-attachment" data-type="attachment" style="display: none;"> <form name='archivo' enct...
asked by 21.07.2017 / 12:31
1
answer

how to redirect from ajax?

Very good I have a problem to redirect from use ajax post request The problems are as follows: I have a div which receives only all the validation texts that could occur in the application <div id="resultado"> </div...
asked by 17.07.2017 / 20:25
1
answer

Web services with php for firebase

hello everyone and thanks in advance, I wanted to cosultar, the way to work with a web sevices in php to colsultar data in firebase, since when working with angular2 the data that I store is committed to leave the connection in enviroment, my in...
asked by 19.07.2017 / 01:05
1
answer

There is no case with dates in a query

I'm fighting with mysql and don PHP because they do things that I do not understand. I have a table that has these fields: id bigint(20) tit_eve varchar(200) fec_dde date fec_hta date organiz varchar(2...
asked by 11.07.2017 / 02:35
1
answer

Error when passing variable from Javascript to PHP from the same file?

First of all mention that I found similar questions to this with possible solutions or closed because they are duplicated but without a solution. To pass the variable from JavaScript to php I decided to do it with Ajax in...
asked by 12.07.2017 / 03:14
1
answer

Sort Array with PHP to generate a list of multilevel menu

I'm trying to generate a multilevel menu listing in PHP but I have not managed to do it, I would like to help me with simple examples and sort the Categories and Sub categories with their title, something like this: Category 1              ...
asked by 12.07.2017 / 00:44
1
answer

Register two forms in Mysql with referenced table [closed]

I am trying to enter the data of two forms with a single button, where one table is referenced with the other. Profile table is referenced with users. at the time of registration I want to be entered in their respective tables Tabla usua...
asked by 11.07.2017 / 13:50
1
answer

Transform a string String into an HTML Table

I am creating a system where you build products and generate tables and budgets. You must implement a functionality to finish and if the user leaves the item's constructor but wants to return from another area of the website, for example, check...
asked by 31.07.2017 / 21:18
1
answer

How to store a null array?

I have an array that is generated when choosing items from a multiple select. In the process of recording data I do this: if (isset($_POST['temas_event'])) { $temas_event = json_encode($_POST['temas_event']); } else { $temas_event = ['0'...
asked by 01.08.2017 / 18:18
2
answers

Pass one or several tax_id to odoo 9 (to your native api)

I currently have this: $line_array_product = array( 'order_id' => new xmlrpcval($erp_order_id, "int"), 'type' => new xmlrpcval('Product', "string"), 'product_id' => new xmlrpcval($erp_product_id, "int"), 'price_unit' =...
asked by 01.08.2017 / 10:33