Foros del Web » Programando para Internet » PHP »

Actualizar texto desde base de datos

Estas en el tema de Actualizar texto desde base de datos en el foro de PHP en Foros del Web. Hola, necesito ayuda con esto; quisiera saber si es posible hacer una base de datos para actualizar los textos que mostrare a continuación, de una ...
  #1 (permalink)  
Antiguo 25/11/2008, 22:17
 
Fecha de Ingreso: julio-2008
Mensajes: 20
Antigüedad: 15 años, 9 meses
Puntos: 0
Actualizar texto desde base de datos

Hola, necesito ayuda con esto; quisiera saber si es posible hacer una base de datos para actualizar los textos que mostrare a continuación, de una forma sencilla sin tener que estar metiéndome en el código, o si hay otra forma que coloques un texto externo (como un archivo de texto) y se vea dentro del div... He intentado pero soy un en esto
aqui les va el codigo...gracias mil...
Código html:
Ver original
  1. <div style="width:660px; height: 370px;  overflow:scroll; overflow-x:hidden">
  2.             <table width="660" border="1" cellspacing="5">
  3.               <tr>
  4.                 <td width="150" height="124"><img src="imagenes obras/obra1.jpg"/></td>
  5.                 <td><div style="width:450px; margin-left: 20px; height: 80px;" class="graybold">OBRAS CIVILES PARA EL SISTEMA UNIFICADO AUTOMATIZADO DE SEGURIDAD Y SALUD (SUASS) EN LA GRAN CARACAS.</div></td>
  6.               </tr>
  7.               <tr>
  8.                 <td width="150" height="124"><img src="imagenes obras/obra2.jpg"/></td>
  9.                 <td><div style="width:450px; margin-left: 20px; height: 80px;" class="graybold">COLOCACIÓN DE 2 ATMS EMPOTRADOS EN PARED EN LA AGENCIA BANESCO CARLOTA PLAZA, AV. FRANCISCO DE MIRANDA, LA CARLOTA. COD.029</div></td>
  10.               </tr>
  11.               <tr>
  12.                 <td width="150" height="124"><img src="imagenes obras/obra3.jpg"/></td>
  13.                 <td><div style="width:450px; margin-left: 20px; height: 80px;" class="graybold">CONSTRUCCION DE TANQUILLA Y TORRENTERA EN TALUD ENTRE SALA DE COMPRESORES Y SUBESTACION ELECTRICA DEL AEROPUERTO DE MAIQUETIA. </div></td>
  14.               </tr>
  15.               <tr>
  16.                 <td width="150" height="124"><img src="imagenes obras/obra4.jpg"/></td>
  17.                 <td><div style="width:450px; margin-left: 20px; height: 80px;" class="graybold">COLOCACIÓN DE 2 ATMS EMPOTRADOS EN PARED Y UN AUTOSERVICIO EN LA AGENCIA BANESCO AV. ROMULOS GALLEGOS, SEBUCAN. </div></td>
  18.               </tr>
  19.               <tr>
  20.                 <td width="150" height="124"><img src="imagenes obras/obra5.jpg"/></td>
  21.                 <td><div style="width:450px; margin-left: 20px; height: 80px;" class="graybold">COLOCACIÓN DE 2 ATMS EMPOTRADOS EN PARED Y UN AUTOSERVICIO EN LA AGENCIA BANESCO CENTRO EMPRESARIAL LA URBINA , AV. PRINCIPALLA URBINA. </div></td>
  22.               </tr>
  23.               <tr>
  24.                 <td width="150" height="124"><img src="imagenes obras/obra6.jpg"/></td>
  25.                 <td><div style="width:450px; margin-left: 20px; height: 80px;" class="graybold">REHABILITACIÓN DE LA U.N.E. GERMAN UBALDO LIRA, UBICADA EN LA CALLE SUCRE ESTADO MIRANDA.</div></td>
  26.               </tr>
  27.               <td width="150" height="124"><img src="imagenes obras/obra7.jpg"/></td>
  28.         <td><div style="width:450px; margin-left: 20px; height: 80px;" class="graybold">EQUIPAMIENTO Y MODIFICACIONES PDVAL LA CANDELARIA, MUNICIPIO LIBERTADOR, CARACAS.</div></td>
  29.               </tr>
  30.               <td width="150" height="124"><img src="imagenes obras/obra8.jpg"/></td>
  31.         <td><div style="width:450px; margin-left: 20px; height: 80px;" class="graybold">REHABILITACION DE VIVIENDAS EN EL SECTOR LA GRAMA DE ANTIMANO, CARACAS, FASE II.</div></td>
  32.               </tr>
  33.               <td width="150" height="124"><img src="imagenes obras/obra9.jpg"/></td>
  34.         <td><div style="width:450px; margin-left: 20px; height: 80px;" class="graybold">REHABILITACION DE BLOQUES DE ARTIGAS, CARACAS.</div></td>
  35.               </tr>
  36.               <td width="150" height="124"><img src="imagenes obras/obra10.jpg"/></td>
  37.         <td><div style="width:450px; margin-left: 20px; height: 80px;" class="graybold">REHABILITACION DE VIVIENDAS EN EL SECTOR LA GRAMA DE ANTIMANO, CARACAS.</div></td>
  38.               </tr>
  39.               <td width="150" height="124"><img src="imagenes obras/obra11.jpg"/></td>
  40.         <td><div style="width:450px; margin-left: 20px; height: 80px;" class="graybold">REHABILITACION DE VIVIENDAS EN EL SECTOR LA GRAMA DE ANTIMANO II, CARACAS.</div></td>
  41.               </tr>
  42.  
  43.            </table>
  44.           </div>

Última edición por GatorV; 26/11/2008 a las 09:48
  #2 (permalink)  
Antiguo 25/11/2008, 22:28
Avatar de pateketrueke
Modernizr
 
Fecha de Ingreso: abril-2008
Ubicación: Mexihco-Tenochtitlan
Mensajes: 26.399
Antigüedad: 16 años
Puntos: 2534
Respuesta: Actualizar texto desde base de datos

Cita:
[...] quisiera saber si es posible hacer una base de datos para actualizar los textos que mostrare a continuación, de una forma sencilla sin tener que estar metiéndome en el código, o si hay otra forma que coloques un texto externo (como un archivo de texto) y se vea dentro del div [...]
claro que se puede!!!

¿¿porque la pregunta???

__________________
Y U NO RTFM? щ(ºдºщ)

No atiendo por MP nada que no sea personal.
Atención: Estás leyendo un tema que no tiene actividad desde hace más de 6 MESES, te recomendamos abrir un Nuevo tema en lugar de responder al actual.
Respuesta




La zona horaria es GMT -6. Ahora son las 06:30.