SitePoint Sponsor

User Tag List

Results 1 to 3 of 3

Thread: Drupal

  1. #1
    SitePoint Member
    Join Date
    Jun 2012
    Posts
    7
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Drupal

    Is anybody uses drupal please reply!!!!!!

  2. #2
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    24,319
    Mentioned
    462 Post(s)
    Tagged
    8 Thread(s)
    Do you have a question?

  3. #3
    SitePoint Member
    Join Date
    Jun 2012
    Posts
    7
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Unhappy Yes Problem

    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">

    </div>
    </div>
    <div class="output-div-container">
    <div id="output_div">
    </div>
    </div>
    </form>
    </div>
    </body>
    </html>

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

    Please help!!!!!!!


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •