Jump to content

pearljam73

New Members
  • Posts

    1
  • Joined

  • Last visited

    Never

Everything posted by pearljam73

  1. You're not passing the variable through a form, and it's therefore not a GET[] value. Because you're passing it in the address bar, $sport automatically equals the value on the next page. Just start using the $sport variable, like this... $result = mysql_query("SELECT * FROM table_name WHERE Sport='$sport' ORDER BY Sport_Name asc",$db_conn_id); while ($myrow = mysql_fetch_array($result) { echo $myrow['Sport_Name']."<BR>"; }
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.