Your IP : 216.73.216.40


Current Path : /var/www/html/mmishra/indem/iiita/
Upload File :
Current File : /var/www/html/mmishra/indem/iiita/telephones.php

<?php
include("functions.php");
dbConnect();

$pname = $_GET["pname"];
$rs = mysql_query("select * from profiles where lower(full_name) like '%$pname%'");
if ($rs) {
	$count = mysql_num_rows($rs);
	echo "<br><b>Phone No. found: $count</b>";

	echo "<table width='90%' class=normal border=0 cellspacing=4 cellpadding=4>
	<tr><th>Name</th><th>Designation</th><th>Phone No.</th><th>Email</th><th>Webpage</th></tr>";
	while ($o = mysql_fetch_object($rs)) {
		$i++;
		if ($i % 2) echo "<tr bgolor='silver'>"; else echo "<tr>";
      		echo "<td><a href='inner.php?conf=profiles&id=$o->login'>$o->title&nbsp;$o->full_name</a></td>
		<td>$o->designation</td><td>$o->phone_no</td>
		<td>$o->email</td><td>$o->webpage</td></tr>";
	}
	echo "</table>";
}
?>