Estimado, como puedo modificar la busqueda para que me entregue como resultado:
ROOM_NAME | NAMEBOOKER | FULLDESCRIPTION | STAR | END |
Agradeceria su ayuda.
You'll need to modify search.php by
(1) changing the SQL query to include the fields you need (2) changing the table header (3) changing the table body
no puedo con el error :(
DataTables warning table id=search results - Requested unknown parameter '3' for wow '0
The section of code
if ($ajax) { $json_data['aaData'][] = $values; } else { echo "<tr>\n<td>\n"; echo implode("</td>\n<td>", $values); echo "</td>\n</tr>\n"; }
should be at the end of the function output_row()
No me funciona :(
Yes - you need to delete that block of code from the earlier part. In other words you need to move that block of code, not copy it.
Genial, funciona :) Gracias nuevamente Campbell Morrison
Una duda, porque end_time se incrementa en relacion al original ??
Ej el resultado dice que comienza en periodo 1 y termina en periodo 3, pero la reserva orginal dice que comienza en periodo 1 y termina en periodo 2.
That's because of the way that periods work. They are stored internally as bookings of one minute long starting at 1200. You'll need to subtract 60 from the end time as follows:
if(empty($row['enable_periods'])) { $link_str = time_date_string($row['end_time']); } else { list(,$link_str) = period_date_string($row['end_time'] - 60); }
You'll need to modify search.php by
(1) changing the SQL query to include the fields you need
(2) changing the table header
(3) changing the table body
no puedo con el error :(
Last edit: weblan 2016-03-02
DataTables warning table id=search results - Requested unknown parameter '3' for wow '0
The section of code
should be at the end of the function output_row()
No me funciona :(
Last edit: weblan 2016-03-02
Yes - you need to delete that block of code from the earlier part. In other words you need to move that block of code, not copy it.
Genial, funciona :) Gracias nuevamente Campbell Morrison
Una duda, porque end_time se incrementa en relacion al original ??
Ej el resultado dice que comienza en periodo 1 y termina en periodo 3, pero la reserva orginal dice que comienza en periodo 1 y termina en periodo 2.
That's because of the way that periods work. They are stored internally as bookings of one minute long starting at 1200. You'll need to subtract 60 from the end time as follows: