close
Warning:
Failed to sync with repository "ogBrowser-Git": (1366, "Incorrect string value: '\\xF0\\x9F\\x93\\xA6 I...' for column 'message' at row 1"); repository information may be out of date. Look in the Trac log for more information including mitigation strategies.
918-git-images-111dconfigfileconfigure-oglivegit-imageslgromero-new-oglivemainmaint-cronmount-efivarfsmultivmmultivm-ogboot-installerogClonningEngineogboot-installer-jenkinsoglive-ipv6test-python-scriptsticket-301ticket-50ticket-50-oldticket-577ticket-585ticket-611ticket-612ticket-693ticket-700ubu24tplunification2use-local-agent-oglivevarios-instalacionwebconsole3
| Line | |
|---|
| 1 | <? |
|---|
| 2 | // ************************************************************************************************************************************************* |
|---|
| 3 | // Aplicación WEB: ogAdmWebCon |
|---|
| 4 | // Autor: José Manuel Alonso (E.T.S.I.I.) Universidad de Sevilla |
|---|
| 5 | // Fecha Creación: Año 2009-2010 |
|---|
| 6 | // Fecha Última modificación: Noviembre-2005 |
|---|
| 7 | // Nombre del fichero: consulta_programacion.php |
|---|
| 8 | // Descripción : |
|---|
| 9 | // Muestra un calendario para elegir una fecha |
|---|
| 10 | // ************************************************************************************************************************************************* |
|---|
| 11 | include_once("../includes/ctrlacc.php"); |
|---|
| 12 | include_once("../clases/AdoPhp.php"); |
|---|
| 13 | include_once("../includes/comunes.php"); |
|---|
| 14 | include_once("../includes/CreaComando.php"); |
|---|
| 15 | //_________________________________________________________________________________________________________ |
|---|
| 16 | // Toma parametros |
|---|
| 17 | $idprogramacion=0; |
|---|
| 18 | if (isset($_POST["idprogramacion"])) $idprogramacion=$_POST["idprogramacion"]; |
|---|
| 19 | |
|---|
| 20 | // Abre conexiones |
|---|
| 21 | $cmd=CreaComando($cadenaconexion); // Crea objeto comando |
|---|
| 22 | $rs=new Recordset; // Recupero acciones anidadas |
|---|
| 23 | $cmd->texto="SELECT * FROM programaciones WHERE idprogramacion=".$idprogramacion; |
|---|
| 24 | $rs->Comando=&$cmd; |
|---|
| 25 | if ($rs->Abrir()){ // Error al abrir recordset |
|---|
| 26 | $cadena_campos=$rs->campos[0]; |
|---|
| 27 | for($i=1;$i<$rs->numerodecampos;$i++) |
|---|
| 28 | $cadena_campos.=";".$rs->campos[$i]; // Usa el caracter ; para delimitar |
|---|
| 29 | echo $cadena_campos; |
|---|
| 30 | } |
|---|
| 31 | $rs->Cerrar(); |
|---|
| 32 | ?> |
|---|
Note: See
TracBrowser
for help on using the repository browser.