Hi Abu!
I'm having a hard time to load a grid with a subgrid.
I have 2 tables.
gastos_encabezado
idGastos_Encabezado PK
monto
gastos_detalle
idGastos_Detalle PK
idGastos_Encabezado
fecha
$c_id = $_REQUEST["rowid"];
if (empty($c_id)) $c_id = 0;
$g->select_command = "SELECT * FROM gastos_detalle WHERE idGastos_Encabezado = $c_id"
It doesn't display anything.
3 Answers
Please share complete code for review.
Either share using pastebin.com OR email me at [email protected]
Best would be to compare your code with demos/master-detail/subgrid.php
Your Answer