本文整理汇总了PHP中bd::getDatosBase方法的典型用法代码示例。如果您正苦于以下问题:PHP bd::getDatosBase方法的具体用法?PHP bd::getDatosBase怎么用?PHP bd::getDatosBase使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类bd
的用法示例。
在下文中一共展示了bd::getDatosBase方法的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: bd
class="form-input " id="e_rif_admin">
</div>
<div class="col-xs-12">
<span class="marL10"><i class="fa fa-industry"></i> Nombre de la Tienda</span>
</div>
<div class="form-group col-xs-12 col-sm-12 col-md-6 col-lg-6 input">
<input type="text" placeholder="Ingresa la razon social..." name="e_razonsocial_admin"
class=" form-input " id="e_razonsocial_admin">
</div>
<div class="form-group col-xs-12 col-sm-12 col-md-6 col-lg-6 input">
<select
class=" form-select " id="e_categoria_admin" name="e_categoria_admin">
<option value="" disabled selected>Area de la empresa</option>
<?php
$estados = new bd();
foreach ($estados->getDatosBase("categorias_juridicos") as $area) {
?>
<option value="<?php
echo $area["id"];
?>
"><?php
echo $area["nombre"];
?>
</option>
<?php
}
?>
</select>
</div>
示例2: bd
</div>
<div class="form-group col-xs-12 col-sm-12 col-md-12 col-lg-12 input">
<input type="text"
placeholder="Ingrese un numero de telefono..." name="e_telefono"
class=" form-input" id="e_telefono">
</div>
<div class="col-xs-12">
<span class="marL10"><i class="fa fa-map-marker"></i>
Ubicacion...</span>
</div>
<div class="form-group col-xs-12 col-sm-12 col-md-12 col-lg-12 input">
<select class=" form-select " id="e_estado" name="e_estado">
<option value="" disabled selected>Seleccione un Estado</option>
<?php
$estados = new bd();
foreach ($estados->getDatosBase("estados", 1) as $estado) {
?>
<option value="<?php
echo $estado["id"];
?>
"><?php
echo $estado["nombre"];
?>
</option>
<?php
}
?>
</select>
</div>
<div class="form-group col-xs-12 col-sm-12 col-md-12 col-lg-12 input">
<textarea rows="4" cols="" placeholder=" Direccion" id="e_direccion" name="e_direccion"
示例3: bd
</div>
<div class="form-group col-xs-12 col-sm-12 col-md-12 col-lg-12 input">
<input type="text"
placeholder="Ingrese un numero de telefono..." name="e_telefono"
class=" form-input" id="e_telefono">
</div>
<div class="col-xs-12">
<span class="marL10"><i class="fa fa-map-marker"></i>
Ubicacion...</span>
</div>
<div class="form-group col-xs-12 col-sm-12 col-md-12 col-lg-12 input">
<select class=" form-select " id="e_estado" name="e_estado">
<option value="" disabled selected>Seleccione Sambil</option>
<?php
$estados = new bd();
foreach ($estados->getDatosBase("ciudades_sambil", 1, "ORDER BY\nciudades_sambil.nombre ASC") as $estado) {
?>
<option value="<?php
echo $estado["id"];
?>
"><?php
echo $estado["nombre"];
?>
</option>
<?php
}
?>
</select>
</div>
<div class="form-group col-xs-12 col-sm-12 col-md-12 col-lg-12 input">
<textarea rows="4" cols="" placeholder=" Direccion" id="e_direccion" name="e_direccion"