[insert_php]
include(ABSPATH . ‘wp-content/config.inc’);
$co=$_GET[‘co’];
[/insert_php]

[insert_php]
$qry=”select * from comp_me where company like ‘%”.$co.”%'”;
$res=mysql_query($qry,$con) or die(mysql_error());

while($row=mysql_fetch_assoc($res))

{

echo ‘

‘;
echo ‘

‘;
echo ‘

‘;
echo ‘

‘;
echo ‘

‘;
} [/insert_php]

Name Company Batch
‘.$row[‘name’].’ ‘.$row[‘company’].’ ‘.$row[‘bat’].’