Ver Mensaje Individual
  #9 (permalink)  
Antiguo 22/10/2008, 10:57
willykamp
 
Fecha de Ingreso: octubre-2008
Mensajes: 9
Antigüedad: 15 años, 6 meses
Puntos: 0
Respuesta: Ayuda con funcion include

que pena gator, no vuelve a suceder, mira ahora me pasa este error:

Warning: include(update_time_pilot.php?Id=117421) [function.include]: failed to open stream: Invalid argument in C:\Inetpub\vhosts\ivao.org\httpdocs\members\person \updating_pilot.php on line 12

Warning: include() [function.include]: Failed opening 'update_time_pilot.php?Id=117421' for inclusion (include_path='.;./includes;./pear') in C:\Inetpub\vhosts\ivao.org\httpdocs\members\person \updating_pilot.php on line 12

trate de poner con otros codigos pero no mer reconocia las variables osea que deje el mismo pero pues me cambio el error, jejeje que podra ser, ustedes que conocen mas del tema,

Código PHP:
<?php 
include("config/conf.php");

// CONNEXION MYSQL
$db_link = @mysql_connect($sql_server,$sql_user,$sql_passwd);
if(!
$db_link) {echo "No connected to <b>$sql_bdd</b> on the server <b>$sql_server</b>"; exit;}

$allvid=mysql_db_query($sql_bdd,"select Pers_Id from user_data where Pers_Activate=\"1\" and new_password=\"1\" and Rating>1 and Pers_Sand=\"0\"",$db_link) or die(mysql_error());

while (
$data mysql_fetch_array($allvid)) {
{
include 
'update_time_pilot.php?Id='.$data['Pers_Id'].'';
}
}
?>
<?
print '<br><br><b>Pilot Update time written by Julien Lhernault (IVAO-AWM1) for Ivao.org</b>';
?>
<?
mysql_close
($db_link);
?>