Questions tagged as 'php'

0
answers

Create field Select in the default form of laravel for user registration

I am trying to modify the RegisterController by default of laravel and one of the fields of the form that I am going to use is of type select. but I can not send the data array to the view to show the drop-down menu of the select. this is...
asked by 14.10.2018 / 23:45
0
answers

ARRANGEMENT JSON TO ARRANGEMENT OF OBJECTS IN JAVA (ANDROID STUDIO)

I am currently passing an object from PHP through a JSON, consisting of message, result and an object with 2 attributes: id and region name. PHP function that performs select and returns an object to the calling function: public func...
asked by 12.10.2018 / 00:22
0
answers

How to write a file.txt with PHP from HTML, with the code on a server

What happens is that I am writing according to the information of a telnet connection with php, but I only manage to create the file when I open the file from the server console in SecureCRT with the command "php file.php", but from the web I do...
asked by 11.10.2018 / 21:24
1
answer

I was not activated timepicker (materialize)

I have a problem I do not activate the timepicker to be able to select the time of entry and exit input <div class="input-field col s12 m4"> <input type="text" id="hora_entrada" class="timepicker" name="hora_entrada"/>...
asked by 12.10.2018 / 00:30
0
answers

Notice: Undefined index: pass on line 42 and line 41

<?php mysqli_select_db($conexion, $database_conexion); $query_DatosWeb = sprintf ("SELECT * FROM z_users WHERE user=%s AND password=%s", GetSQLValueString($_POST['user'], "text"), GetSQLValueString($_POST['pass'], "text")...
asked by 11.10.2018 / 21:55
1
answer

Send HTML by JSON with PHP

I have this HTML that I generate with the function of php selectHorarios () <option>13:15</option> <option>13:30</option> <option>13:45</option> <option>14:00</option> That I send it with thi...
asked by 12.10.2018 / 08:25
0
answers

Generate CSV with multiple records with a single Form

how are you? I tell you that I am new to the Program ... I need to create a csv with n rows or records using the same Form ... at the moment I have the following code which generates this csv but only with 1 record when using the submit button ....
asked by 12.10.2018 / 14:04
1
answer

does not load result in the input

I'm trying to calculate hours * value hours = total to pay, but it does not show the result in the total input to be paid input <div class="input-field col s12 m4"> <select name="horas" onblur="calcula_porcentaje(this.form)"...
asked by 13.10.2018 / 04:36
1
answer

mysqli_fetch_object () expects parameter 1

I have a problem with my php code that sends me the following error    "Warning: mysqli_fetch_object () expects parameter 1 to be   mysqli_result, boolean ", This is my php code where I get an error. <?php include("connecti...
asked by 25.08.2016 / 14:49
0
answers

Can Datatables be presented as a mosaic and how would it be?

Good day. I already have my datatable, I would like to know if I can change your presentation to something like this I really do not know what that presentation is called or how I can do it. In fact that page is exactly what I want t...
asked by 13.10.2018 / 03:12