Ver Mensaje Individual
  #1 (permalink)  
Antiguo 21/10/2008, 22:55
Avatar de Capimaster
Capimaster
 
Fecha de Ingreso: agosto-2004
Mensajes: 494
Antigüedad: 19 años, 8 meses
Puntos: 2
Problema para mostrar un codigo

Tengo problemas con mi forma de organizarme para programar....

haber si alguien me puede ayudar con esto.... hize el siguiente script.. el problema es que no logro que imprima en la pantalla lo ke kiero...

Código PHP:
<?php
mysql_select_db
($database_noticias$noticias);
$query_banns "SELECT * FROM banner_galery ORDER BY id DESC";
$banns mysql_query($query_banns$noticias) or die(mysql_error());
$row_banns mysql_fetch_assoc($banns);
$totalRows_banns mysql_num_rows($banns);

$codigo $row_banns['source'];
$ruta $row_banns['ruta'];
$codigofte $row_banns['codigo'];
$imagecode "<img src=\""$ruta ."\" width=\"468\" height=\"70\" alt=\"Anunciate aquí al 9221210\" />";
$flashcode "<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0\" width=\"468\" height=\"70\">
  <param name=\"movie\" value=\"$ruta\">
  <param name=\"quality\" value=\"high\">
  <embed src=\"$ruta\" quality=\"high\" pluginspage=\"http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash\" type=\"application/x-shockwave-flash\" width=\"468\" height=\"70\"></embed>
</object>"
;




?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Documento sin t&iacute;tulo</title>
</head>

<body>
<?php $codigo?>
Tambien intente esto... pero creo ke fue una burrada de mi parte..
jajaja <?php echo "<?php echo " . $row_banns['source'] . "; ?>"; ?>
__________________
http://www.elcapitolio.com.mx - Ocotlán, Jalisco, México