Questions tagged as 'php'

1
answer

Pass a variable from one form to another PDO form

I have a form that is very large and for that reason I have split it into two pieces the first form registers well and like the second the only problem is that when I register the second form does not keep the ID of the first form that variable...
asked by 06.02.2017 / 07:06
1
answer

Delay show load gif

I have a code in which each time I click on a button it shows me a random word from the list using a code js. Now I want the word not to be shown instantly, but it takes a few seconds to show the word and while those seconds pass it show...
asked by 04.02.2017 / 18:13
2
answers

Counter of records or columns of a Mysql database using PHP

I would like to know the total of numbers of columns or records entered in a table and display it on the screen. For example, in the table I have three records or columns and I need you to give me the number 3 What I have is the f...
asked by 05.02.2017 / 17:00
1
answer

PHP Warning: Missing argument 1 for __ ()

Greetings, I made for one of my wordpress sites an .php file that contains all the tags with the corresponding links said publications. I do not have much knowledge of php, the file I did was basically built by modifying the original file destin...
asked by 13.02.2017 / 12:49
1
answer

Modal of Bootstrap Facebook Post style

How do facebook posts work to see an image in a window without changing places to see it? What method do you have to use to do that? Example: link     
asked by 13.02.2017 / 23:40
2
answers

How to Emulate type return from interface in PHP?

I have to get some information from the database models. The problem is that all the models (that describe the tables) are different. The information of the models must be shown in a calendar, therefore I need the same structure [title, date fro...
asked by 14.03.2017 / 15:13
1
answer

PHP (BASIC) Assignment of Object and Class

I have a question ... The following code: <?php $instancia = new ClaseSencilla(); $asignada = $instancia; $referencia =& $instancia; $instancia->var = '$asignada tendrá este valor'; $instancia = null; // $instancia y $refer...
asked by 08.02.2017 / 20:24
2
answers

Modify textbox value when select changes

I have a table called articles , it has the following fields: article_id , des_articulo (description of the article cited) and article (article number) I have a form to register sanctions, where I use this table that contains the articl...
asked by 18.01.2017 / 16:17
1
answer

Salary DataTables jQuery

I do not handle much the DataTables for which I tried several ways to convert a result of ajax that are numbers and convert them into salary, but since I am handling it in a different way than the DataTables it suddenly beco...
asked by 18.01.2017 / 22:22
1
answer

Sort the results of a query according to the results of another

I happen to have two tables, articles and likes . In the first, I keep a series of articles, and in the second, I keep the reaction of users to these articles. I want to sort the articles (article table) in order from most to least reactio...
asked by 18.01.2017 / 00:40