Two error messages (I changed to mysqli, and now get different error messages!)
<p>Help!<br>
1. here is the page: <a href="http://www.bpanzullo.com/ThornAJAX/Ajaxindex.html" rel="nofollow">http://www.bpanzullo.com/ThornAJAX/Ajaxindex.html</a>
The only name in the database now is  Paul
I get 2 error messages when I type in  Paul:</p>

<pre><code>Warning: mysqli_query() expects at least 2 parameters, 1 given in /home/ftpbpan/public_html/ThornAJAX/info.php on line 10
which is:   $query = mysqli_query("select * from peopleTwo where name='$name' limit 1");

Warning: mysqli_num_rows() expects parameter 1 to be mysqli_result, null given in /home/ftpbpan/public_html/ThornAJAX/info.php on line 15
which is:    $num_rows = mysqli_num_rows($query);
</code></pre>

<p>Here is the code: </p>

<p>*<em>','</em>***');</p>

<pre><code>mysqli_select_db($connect, 'people'); 

if(strlen($_GET['user']) &gt;0){
$name = $_GET['user'];
$query = mysqli_query("select * from peopleTwo where name='$name' limit 1");
if (false === $query) {
die(mysql_error());
}
$num_rows = mysqli_num_rows($query);

if($num_rows == 1) {
$row = mysqli_fetch_assoc($query);
</code></pre>
