<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Leandro, probá anteponiendo a las variables $fecha en la query, la
comilla simple, tanto para abrir como para cerrar. después contá. Lucas<br>
<blockquote cite="mid:COL116-W47D3D75B41E1E5E4934DA9ABA10@phx.gbl"
type="cite">
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>Hola
Matias con <br>
<pre>$fecha1="2010-7-07 00:00:00";
$fecha2="2010-7-31 23:59:59";
Me tira:
<b>Warning</b>: mysql_num_rows(): supplied argument is not a valid MySQL result resource in
<b>C:\wamp\www\practicaphp\php_avanzado\tesis\sitio\21-07-2010\calen.php</b> on line <b>61</b>
Cantidad:
</pre>
<br>
Saludos<br>
<br>
<hr>Para que tu tiempo sea sólo tuyo, estamos reinventando un nuevo
Hotmail. Descubrilo. <a moz-do-not-send="true"
href="http://www.nuevohotmail.com" target="_new">Ver más</a>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Php-avanzado mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Php-avanzado@pato2.fi.mdp.edu.ar">Php-avanzado@pato2.fi.mdp.edu.ar</a>
<a class="moz-txt-link-freetext" href="http://www3.fi.mdp.edu.ar/cgi-bin/mailman/listinfo/php-avanzado">http://www3.fi.mdp.edu.ar/cgi-bin/mailman/listinfo/php-avanzado</a></pre>
</blockquote>
<br>
</body>
</html>