Categories > TinyButStrong general >

Sub Blocks

The forum is closed. Please use Stack Overflow for submitting new questions. Use tags: tinybutstrong , opentbs
By: Ignacio
Date: 2005-04-19
Time: 05:43

Sub Blocks

<table width="100%" border="0" cellpadding="0" cellspacing="3">
<tr>
<td><input type="checkbox" ></td>
<td><p>[eq.equipamiento;block=tr]</p></td>
<td>
<p>
<select name="id_equipamiento_op">
<option>[eqop.opcion;block=option;p1=[eq.id]]</option>
</select>
</p></td>
</tr>
</table>

Server Side:
$mmmd->setMySqlLink();

$tbs->MergeBlock('eq',$mmmd->_mySqlLink,'SELECT '.$tabla12.'.equipamientos,'.$tabla12.'.id FROM '.$tabla12.'');

$tbs->MergeBlock('eqop',$mmmd->_mySqlLink,'SELECT '.$tabla13.'.opcion FROM '.$tabla13.' WHERE (id_equipamientos=%p1%)');


don't work... i don't know why...
By: Ignacio
Date: 2005-04-19
Time: 06:25

Re: Sub Blocks

ok ok, its works i have one problem with conection, thanks