Jump to content

Search the Community

Showing results for tags 'search engine'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • W3Schools
    • General
    • Suggestions
    • Critiques
  • HTML Forums
    • HTML/XHTML
    • CSS
  • Browser Scripting
    • JavaScript
    • VBScript
  • Server Scripting
    • Web Servers
    • Version Control
    • SQL
    • ASP
    • PHP
    • .NET
    • ColdFusion
    • Java/JSP/J2EE
    • CGI
  • XML Forums
    • XML
    • XSLT/XSL-FO
    • Schema
    • Web Services
  • Multimedia
    • Multimedia
    • FLASH

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests


Languages

Found 3 results

  1. stewofkc

    Search Engines

    Which Search Engine do you use most often?
  2. Using search box in a website page (eg. http://mtbfriuli.com/eng/guide.html) appears this error message: Unauthorized access to internal API. Please refer to https://support.google.com/customsearch/answer/4542055 Could it be related to API 2.0? How can it be solved? Thanks Francesco In page header: <!-- Google Search --> <script> (function() { var cx = '00000000000000000:aaaaaaaaaaaaaaaaa'; var gcse = document.createElement('script'); gcse.type = 'text/javascript'; gcse.async = true; gcse.src = 'https://cse.google.com/cse.js?cx=' + cx; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(gcse, s); })(); </script>
  3. etsted

    combining

    i have to scripts i want to combine, but i am not sure how to, could someone show me? search script: <h1>Search:</h1> <form action="search.php" method="get" class="search"> <input type="text" name="k" size='50' /> <input type="submit" name="submit" value='Search' /> </form> <?php $username = $_SESSION['username']; if(isset($username)) { include "navigator/navigator_login.php"; } else { include "navigator/navigator.php"; } ?> <hr /> <?php // also check out facebook and twitter like buttons include "connect.php"; $k = mysqli_real_escape_string($con, htmlentities(trim($_GET['k']))); $terms = explode(" ", $k); $query = "SELECT * FROM videos WHERE "; $i = 0; foreach($terms as $each) { $i++; if($i == 1) { $query .= "description LIKE '%$each%' "; } else { $query .= "OR description LIKE '%$each%' "; } } $result = mysqli_query($con, $query) or die(mysqli_error($con)); $numrows = mysqli_num_rows($result); if($numrows > 0) { while($row = mysqli_fetch_array($result)) { $id = $row['id']; $title = $row['title']; $url = $row['url']; $description = $row['description']; if($k == "") { echo ""; } else { echo "<h3><a href='$url'>$title</a></h3> $description"; } } } else { echo "no results on $k"; } mysqli_close($con); pagination script: include "connect.php"; $count_query = mysql_query("SELECT NULL FROM bruker"); $count = mysql_num_rows($count_query); if(isset($_GET['page'])) { $page = preg_replace("#[^0-9]#","",$_GET['page']); } else { $page = 1; } $perPage = 10; $lastPage = ceil($count/$perPage); if($page < 1) { $page = 1; } else { if($page > $lastPage) { $page = $lastPage; } } $limit = "LIMIT " . ($page - 1) * $perPage . ", $perPage"; $query = mysql_query("SELECT name FROM bruker ORDER BY id DESC $limit"); if($lastPage != 1) { if($page != $lastPage) { $next = $page + 1; $pagination .= '<a href="pagination.php?page='.$next.'">Next</a>'; } if($page != 1) { $prev = $page - 1; $pagination .= '<a href="pagination.php?page='.$prev.'">Previous</a>'; } } while($row = mysql_fetch_array($query)) { $output .= $row['name'] . "<br />"; } echo $output; echo $pagination;
×