OK, made the change, when the page runs, this is returned
Warning: Supplied argument is not a valid MySQL result resource in /home/domains/lukeu/lukesplace.com/Padilla/report_generator.php on line 19
heres my php where The problem must lie.
<?php
$hostname = "10.0.0.127";
$username = "luke";
$password = "blues";
$database = "test";
$connection = mysql_connect($hostname , $username , $password)
or die("cannot make connection");
$db = mysql_selectdb($database , $connection)
or die("cannot find database");
$sql="select * from company, activity
where c_id = a_c_id and
medivas = $poc and
priority in ($prioritya, $priorityb, $priorityc) and
a_date between $startdate and $enddate and
c_name = $C_name";
//$query=mysql_query($sql) or die($sql);
echo $sql;
$numofrows = mysql_num_rows($query);
?>
If you want to see what I'm trying to do, its at
http://www.lukesplace.com/Padilla/createreport.php