Questions tagged as 'php'

0
answers

Show data from json to a datatable in php

Good evening; I hope you can help me, I have a small problem when displaying the data within a datatable, the data if they are shown in the index but not within the datatable. This is the JS code inside my index.php $(document).ready(functi...
asked by 01.10.2017 / 03:08
1
answer

How to create an Array with a While of the DB?

How are you? I'm trying to get help with the following > I have this Array: $ComprobanteItem_1 = array( "Cantidad" => 1, "Detalle" => "Producto Uno", "Codigo" => "CODPROD"...
asked by 01.10.2017 / 00:36
1
answer

Date can not enter the bbdd

Problem: The date of birth, does not enter the bbdd. I cut out as much as possible both the code and the form and the answer it gives me when I want to enter. The reality is that there are 25 fields. And several are date, several are select, oth...
asked by 29.09.2017 / 21:29
1
answer

enter modem with cURL

I found some examples of login with cURL and I am using this ... <?php error_reporting(E_ALL); ini_set('display_errors', 1); $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, 'http://myhost/'); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);...
asked by 15.11.2017 / 18:07
1
answer

Leverage Browser Caching

I have tried several online page optimization tests and one of them gives me this error that I do not know how to solve ... Leverage Browser Caching I do not know what this is and how to solve it, honestly. --------------------...
asked by 14.11.2017 / 18:55
2
answers

Make an Insert if there is no value in a column, but make an update

Hi, I wanted to tell you that I want to do an Insert but check if there is a value in a column of the table before doing it, if it is an update only in the value of the column of the same. I pass the code to you as I have it: if(in_array($t...
asked by 28.09.2017 / 03:36
0
answers

Send array, POST method

Dear colleagues, previously I sent my IDs by GET and it caused me problems because a user could change the data of another user simply by changing ID. Now I have modified my code and I am sending my ID by hidden method POST. The code is as fo...
asked by 28.09.2017 / 16:35
1
answer

Send value via post php ajax [closed]

I have these 3 script where one I collect values by means of ajax from another but I want to send the value collected from the other script generated by ajax. this is the index <html> <head> <script src="http://code....
asked by 28.09.2017 / 02:07
1
answer

Error trying to perform retweet using TwitterAPIExchange.php

Error trying to perform retweet using TwitterAPIExchange.php I try to occupy this code: <?php ini_set('display_errors', 1); require_once('TwitterAPIExchange.php'); function RT($id){ $settings = array( 'oauth_access_t...
asked by 28.09.2017 / 01:48
0
answers

PHP Mysql connection in web server with external server database [closed]

The truth that I write this question clarifying that despite having experience programming PHP and mysql, I now have to do something that I had not previously asked, so I need to be able to guide me about what information to look for or read to...
asked by 05.10.2017 / 00:34