when im test in my local machine i dont have any error but when im trying to test in web i have this error, the same DB, the same tables, the same data in both structures any idea????
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/virtual/site244/fst/var/www/html/categoria.php on line 107
<?php
require('conexion2.php');
$SQLEmpresa= "SELECT empresa.cve_Empresa, Nombre, Direccion, pagina, telefono
FROM empresa, empresa_Categoria
WHERE ".$_GET['cve_Categoria']." = empresa_Categoria.cve_Categoria
AND empresa_Categoria.cve_Empresa = empresa.cve_Empresa";
$rsEmpresa = mysql_query($SQLEmpresa,$conexion);
$reg = array();
-->line 107 while ($reg = mysql_fetch_array($rsEmpresa))
{
$nombre = $reg["Nombre"];
$direccion = $reg["Direccion"];
$telefono = $reg["telefono"];
$pagina = $reg["pagina"];
$cve_Empresa = $reg["cve_Empresa"];
?>