Code:
<?php
mysql_connect ("localhost", "root","") or die (mysql_error());
mysql_select_db ("nsca_alumni");
$firstname = $_POST['firstname'];
$lastname= $_POST['lastname'];
$year_grad= $_POST['year_grad'];
$country= $_POST['country'];
$sql = mysql_query("select * from mymembers where firstname like '%$firstname%'
Leave a comment: