Drupal

Is anybody uses drupal please reply!!!

Do you have a question?

Yaa

I have done Employee Directory in PHP Ajax and & Javascript which i wanted to add in a Drupal. So i have added my index.php code to drupal. but it’s not showing O/P.

So for this i need help!!!

my index.php’s code is as follows.

<!DOCTYPE HTML PUBLIC “-//W3C//DTD HTML 4.01 Transitional//EN” “http://www.w3.org/TR/html4/loose.dtd”>
<html>
<head>
<link rel=“stylesheet” type=“text/css” href=“http://192.168.1.4:80/search/style.css” />
<title>Employee Directory</title>
<meta http-equiv=“Content-Type” content=“text/html; charset=iso-8859-1”>
<script type=“text/javascript” src=“http://192.168.1.4:80/search/ajax.js”></script>
<script type=“text/javascript”>

	function getScriptPage(div_id,content_id,get_count)
	{
		subject_id = div_id;
		content = document.getElementById(content_id).value;
		http.open("GET", "http://192.168.1.4:80/search/abcc.php?content=" + escape(content)+"&count="+get_count, true);
		http.onreadystatechange = handleHttpResponse;
		http.send(null);
	}	

</script>
<link href=“http://192.168.1.4:80/search/styles.css” rel=“stylesheet” type=“text/css”></link>
</head>

<body>
<div class=“ajax-div”>
<div class=“input-div”>
Enter Search Keyword here :
<input type=“text” id=“text_content” size=“40” onKeyUp=“getScriptPage(‘count_display’,‘text_content’,‘1’)”>
<input type=“button” class=“button” value=“Search” onMouseUp=“getScriptPage(‘output_div’,‘text_content’,‘0’)”>
<div id=“count_display”>

	&lt;/div&gt;
&lt;/div&gt;
&lt;div class="output-div-container"&gt;
&lt;div id="output_div"&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/form&gt;

</div>
</body>
</html>

In above code Abcc.php file is getting called which has the serverside queries which give u the result!!!

Please help!!!