Questions tagged as 'php'

0
answers

Make an editable jquery table using laravel

another question with laravel. How could I make the table editable using jquery? I'll do it to dry, but as laravel makes it different, I'd like to know how. This is what I have so far: home.blade (The view) <form method="get" actio...
asked by 22.10.2018 / 21:22
0
answers

Register form multiple php-mysql?

Good day, I need your support, how can I register a series of selected data in radio button and store them in my database, this my code. It is a form of 16 questions each question with 3 answer options. <form method="post" role="form">...
asked by 22.10.2018 / 22:18
1
answer

How to obtain or print the data of an array within another php array

I have a cosulta that returns me the following arrangement array(1) { [0]=> array(2) { [0]=> array(1) { ["total"]=> string(19) "2018-10-23 10:17:00" } ["r"]=> array(1) { ["id"]=> s...
asked by 23.10.2018 / 21:45
0
answers

how to correctly use POSTMAN with PHP POST variables?

I have the following url link has the following code <?php $username = $_POST['username']; $response["success"] = 1; $response["message"] = "2"; $response["username"] = $username; echo json_encode($response); ?> and he ret...
asked by 23.10.2018 / 22:28
0
answers

Insert data (FK) in a table with PHP from form and show

goodnight community. Again, requiring your great wisdom. I tell you. I have two tables in sql. One of students and another of careers. In Students I want to register something like registration_id (PK) ... name .. and race_id (FK)...
asked by 29.10.2018 / 02:53
0
answers

Action when you log WordPress

I need to know when the user logs in to verify if they have empty billing information. If not, I will redirect you to the page to fill them out. The fact is that wp_login does not work for me, I do not know why. function datos_facturacion_user...
asked by 23.10.2018 / 13:50
0
answers

How to validate in php that a csv file is PHP

This is my reading of the file. $fp=fopen($archivoGuardado,"r");//leer archivo so I rescue the file upload $archivo= $_FILES["archivo"]["name"]; I remain attentive to your comments. Greetings     
asked by 23.10.2018 / 12:38
0
answers

Colorbox and select

I have the following code, whose objective is that when selecting a select option, open a colorbox with information. The select is in a pivot table and replicates. The problem is that only the url of each option works in the first row, in the fo...
asked by 23.10.2018 / 13:07
2
answers

Function to show current date

I have two lines to return the current date in date format and not in string, but it does not return anything: $date = date("Y-m-d H:i:s"); $hoy = new DateTime($date); Any help?     
asked by 22.10.2018 / 14:20
0
answers

How to create power to filter data by php

What I plan to do is make a filter by name, but what happens to me is that it shows me the name list that I need but when I choose one and press the button it refreshes the page but I do not apply the corresponding filter I attached the code to...
asked by 22.10.2018 / 12:59