• Create search engine PHP MYSQLi

    ShikhaTan Member

    prefer using mysqli language.

    is there any latest tutorial connecting between localhost to database

    i can search the data by search function, tag the data, and all about the search advance engine.

    i been searching this few days vimeo, youtube and some more at forum..

    then all the language are not supported by latest php..

  • Amit Member

    MySQL(i) isn’t a language. SQL is a language used by a lot of database server software.

    PHP can connect to MySQL using the extensions to PHP (You probably won’t have to worry as normally enabled by default).

    Using the manual for PHP and MySQL integration at

    http://php.net/mysqli

  • Adelaid Member

    but whenever i tried to connect database(localhost) using old
    mysql_connect()
    languange(mysql), the result said ‘use the mysqli or PDO instead. the mysql no longer support by latest phpmyadmin.

  • Fierro Member

    Simply use mysqli_connect() instead of mysql only. MySQL isn’t really suited for creating searches engines because its fulltext search isn’t that good. For that case, I’d rather go for PostgreSQL, which is a bit heavier than MySQL, but also does a better job.

    As for the PHP extension, I’d suggest learning PDO as it abstracts the whole database process and lets you use the same methods for every DBMS. You could also consider using an ORM.

  • Adelaid Member

    i’ve found this tutorial.
    https://www.udemy.com/php-search-form/

Viewing 4 reply threads
  • You must be logged in to reply to this topic.