The Way to Programming
The Way to Programming
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..
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
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.
Sign in to your account