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ítulo</title>
</head>
<body>
<?php $codigo; ?>
jajaja <?php echo "<?php echo " . $row_banns['source'] . "; ?>"; ?>