Questions tagged as 'php'

1
answer

How do I pass php array to Jquery?

I have a little problem: <?php require_once '../Controlador/HuespedController.php'; $Huesped = new HuespedController; $userdoc = '44889498'; //originalmente aqui va esto $_POST['doc'], $consulta = $Huesped->BuscarDocumento($userdoc);//...
asked by 30.05.2018 / 21:37
2
answers

How to separate the data that comes from a TextArea in PHP?

Good afternoon what I want to do is get all the data that is entered in a textarea and in php to be able to separate them by lina jump and by coma Like this: I'm using codeigniter $variablecontenedora = $this->input->post("contened...
asked by 19.07.2018 / 21:38
2
answers

Capture more than one click from a button

I have the following code. This is the HTML code. <form action="" method="post"> <div class="row"> <article class="col-lg-9 col-md-9 col-sm-9 aboutBox"> <div class="form-g...
asked by 19.07.2018 / 17:16
1
answer

Fixes php css

I have the following cards (cards) which are arrays with information inside, below it brings me many more arrays but now I want that when I press the state that is in the select it brings me by the state that I select Ejquee aprej trujillo they...
asked by 18.07.2018 / 13:52
1
answer

Notice: Undefined variable: row in C: \ xampp / ... / ... index.php on line

I am trying to make an autocomplete form using an input (text) ... I used this way but I do not know if it will be fine ... I leave the code: (I have a patient table (id, code_pac, name, surname_paterno ) CONNECT.PHP <?php $hostname_strc...
asked by 26.05.2018 / 06:13
1
answer

Compare two PHP objects

I have a problem, I am currently trying to compare two objects, one object is cash sales and the other is card sales.    Cash sales [ { "ventas": 1, "dia": 7, "total": 120 }, { "ventas": 1, "dia": 8, "total":...
asked by 08.09.2018 / 16:49
2
answers

Form does not send emails

I created a blog with html5, css3 and php. In the contact page php I have put a form so that you can send me an email with a comment, but I have done some test and I do not receive anything. I have put two lines to show me if there are errors in...
asked by 07.09.2018 / 09:56
1
answer

Confirm before deleting a record?

What I'm looking for is to confirm before doing the deletion. This is my form.    removeClient.php <!DOCTYPE html> <html> <head> <meta http-equiv="Content-type" content="text/html"; charset="utf-8"> <...
asked by 15.05.2018 / 13:40
1
answer

Calculated Fields

Working with laravel 5.5 I have a question, I have these 3 fields: Start Time: {!! Form::myInput('time', 'hora_inicio', 'Hora inicio: ', ['required']) !!} End Time {!! Form::myInput('time', 'hora_final', 'Hora final: ', ['required']...
asked by 07.09.2018 / 15:57
2
answers

Query in mysql eliminating zero results

Good morning once again I consult the community to see if you can help me, I have the following query: SELECT ncuenta, dcuenta, SUM(-saldo) as monto2 FROM captura WHERE SUBSTR(NCUENTA,1,2) >= '30' and SUBSTR(NCUENTA,1,2) < '39' and fecha...
asked by 16.05.2018 / 17:20