Questions tagged as 'php'

0
answers

Delete a name entered in the form by selecting a checkbox

I am practicing the SESSION_START () in php. In the following code I show you how to enter names in the form, a list is created below with the names entered, each name has a checkbox in front and what I can not do is that when I check the che...
asked by 09.11.2018 / 09:08
0
answers

Register that has been changed with Trigger

I'm doing a history of updating the records in my mysql database I have two tables in phpmyadmin equal, one that is in which I record data and the other just created called updateLogs where the trigger acts on the changes made in the first...
asked by 09.11.2018 / 09:45
0
answers

Generate permutations from a number in PHP

I currently have this script $str = $_GET[numero]; function permute($str,$i,$n) { if ($i == $n) { echo $str.'<br>'; } else { for ($j = $i; $j < $n; $j++) { swap($str,$i,$j); permute($s...
asked by 09.11.2018 / 03:50
1
answer

I want to extract the autoincrementable id when inserting the record

I need to save the id's in the variable $ last [], but it keeps me empty or zero. The sp_ins_ott_registro () is a sp that inserts in a table of 5 attributes, which are seen there and the AI. This way it returns zero to me. for (...
asked by 06.11.2018 / 06:04
0
answers

Error #: Failed to connect to url port 80: Timed out cURL php

This is the curl code if($this->request->is('ajax')){ $datos = $this->request->data['curp']; $this->response->disableCache(); $this->autoRender = false; clea...
asked by 06.11.2018 / 03:42
1
answer

How to make a sql-server 2008 connection in php when it is already on a web host?

I already made a connection to sql server from xammp and it works perfect, the question is how should I change the connection parameters to access from a web host on the internet? what ports should I open or what ip should I put? I hope you can...
asked by 06.11.2018 / 04:24
0
answers

Problem with the session start when uploading the page to a hosting

I would like to know why when I upload the page to a free hosting, it always throws this error at me and how to solve it     
asked by 06.11.2018 / 03:06
1
answer

How to capture in an SESSION variable an element when clicking on it?

I do not know how to express my question but the issue is this, I'm doing a job for a course which I'm taking but I'm at a standstill, the work basically consists in making a simple "copy" of a social network, These are the requirements that the...
asked by 25.11.2018 / 23:46
0
answers

Contain window in an iframe

was making a window to show a result of another web page that requires the sending of data by POST. So far no problem, I open a form and send it and it works correctly. The problem comes when I want to put it in an IFRAME (to be shown in a box i...
asked by 06.11.2018 / 09:41
1
answer

When I build a page from the wordpress administrator, what file is responsible for building that page?

If I go to the administrator of wordpress (pages- add new) in what file is the code that is responsible for building this page stored?     
asked by 25.11.2018 / 22:51