Ver Mensaje Individual
  #2 (permalink)  
Antiguo 28/09/2010, 12:20
Avatar de ylellan
ylellan
 
Fecha de Ingreso: mayo-2010
Ubicación: en un lugar de Veracruz
Mensajes: 432
Antigüedad: 14 años, 8 meses
Puntos: 36
Respuesta: Fallo en el codigo

no es un error con ":

Código PHP:
<?php 
include ('conexion.php'); 
$queEmp "SELECT * FROM ava_users WHERE id=".$_REQUEST['id'].""
$resEmp mysql_query($queEmp$conexion) or die(mysql_error()); 
$totEmp mysql_num_rows($resEmp); 
if (
$totEmp0) { 
while (
$rowEmp mysql_fetch_assoc($resEmp)) { 

echo 
"<? 
$imagen = imagecreatetruecolor(496,124); 
$blanco = imagecolorallocate($imagen, 255,255,255); 
$negro = imagecolorallocate($imagen, 28, 27, 25); 
$rojo = imagecolorallocate($imagen, 255, 0, 0); 
$amarillo = imagecolorallocate($imagen, 255, 255, 0); 
$azul = imagecolorallocate($imagen, 0, 0, 255); 
$cian = imagecolorallocate($imagen, 0, 255, 255); 
imagefill($imagen, 0, 0, $negro); 

imagestring($imagen, 3, 6, 6, '"
.$rowEmp['username']."', $azul); 

header('Content-type: image/png'); 
imagepng($imagen); 
imagedestroy($imagen); 
?>"




?>