ASKER
ASKER
$result = mysql_query("SELECT * FROM schedules WHERE team LIKE '%$tm%' ORDER BY date") or die(mysql_error());
$count = mysql_num_rows($result);
while ($rows = mysql_fetch_array($result))
{
echo '<tr><td>';
echo $rows['opp'];
echo '</td><td>';
echo $rows['loc'];
echo '</td><td>';
echo $rows['date'];
echo '</td></tr>';
}
ASKER
ASKER
ASKER
ASKER
PHP is a widely-used server-side scripting language especially suited for web development, powering tens of millions of sites from Facebook to personal WordPress blogs. PHP is often paired with the MySQL relational database, but includes support for most other mainstream databases. By utilizing different Server APIs, PHP can work on many different web servers as a server-side scripting language.
TRUSTED BY
$sql="SELECT * FROM schedules WHERE team LIKE '*".$tm."*' ORDER BY date";
Ss