prosoxi.com | Archive | MySQL

Archive | MySQL

mysql query against wildcard

cdl_capture_2011-06-02-11_ 000

http://dev.mysql.com/doc/refman/5.5/en/fulltext-search.html

Continue Reading

Posted in MySQL0 Comments

PHP Mysql Search Strategies

Databases

Below is a short list of available databases and a brief description. These are the most commonly used databases. If searching for translations to a specific word or phrase, please select the appropriate database as not all databases are searched by default.

cdl_capture_2011-06-02-11_ 000

Continue Reading

Posted in MySQL, PHP0 Comments

MySQL: Get Next Auto_increment

http://blog.jamiedoris.com/geek/560/

cdl_capture_2011-05-25-33_ 000

Continue Reading

Posted in MySQL, PHP0 Comments

PHP: Multi-word MySQL Search

Here we have a simple PHP search algorithm that queries a MySQL database and outputs the result. It is a simple alternative to using the FULLTEXT search feature of MySQL.

The script autmatically takes into consideration how many search words are in the search string which is submitted from the HTML search form. It then creates a MySQL query and executes it, displaying the results. You can easily edit the fields that the search script searches by changing the values in the$arrayFields array.

Continue Reading

Posted in MySQL, PHP2 Comments

mysql sum if

In today’s quick tip screencast, we’re going to learn a MySQL query trick. You might be already familiar with the SUM() and IF() functions. We will be combining them to come up with some useful queries. This can reduce the number of queries you need to run for fetching certain types of summary data, and also provide a performance improvement.

Continue Reading

Posted in MySQL0 Comments

Mysql Date Format

DATE_FORMAT(date,format)

Formats the date value according to the format string.

Continue Reading

Posted in MySQL0 Comments

PHP’s sprintf() on a MySQL query utilizing DATE_FORMAT()

So what’s the solution? You have to “comment-out” the % that aren’t part of your sprintf() substitution. You can do this by putting another % in front of the ‘%’ symbols in the DATE_FORMAT() function. This deems them as a literal percent-sign instead of the start of another sprintf() “variable”.

Continue Reading

Posted in MySQL, PHP0 Comments

Real-World OOP With PHP and MySQL

Numerous examples from robots to bicycles have been offered as “easy” explanations of what OOP is. I’ve opted to show you how OOP works with a real-life example, for a programmer. By creating a MySQL CRUD class you can easily create, read, update and delete entries in any of your projects, regardless of how the database is designed.

http://net.tutsplus.com/tutorials/php/real-world-oop-with-php-and-mysql/comment-page-1/#comments Continue Reading

Posted in MySQL, PHP0 Comments

Easy Access With PDO CRUD

  1. Abstract
  2. MySQL
  3. SQLite
  4. Summary

Abstract

The term CRUD refers to the four basic functionalities used in most PHP applications.

Continue Reading

Posted in MySQL, PHP0 Comments

MySQL Scheduler

From the release of MySQL 5.1.6 comes the inclusion of a scheduler. The scheduler, as the name suggests, schedules tasks within the database in the same way as triggers. In fact, the scheduler is just that, a temporal trigger. Many of the tasks assigned to the scheduler have been run from cron, but not everybody has access to cron or the windows task scheduler. The MySQL scheduler is not a replacement for these tools as some tasks with PHP scripts need to employ other, non database, events.
Getting Started Continue Reading

Posted in MySQL0 Comments

Domain Finder

Domain Finder Tool by Truste.gr

read more for domains

Advertisers

Wedstar all about wedding - gamos - γαμος
Κατασκευή ιστοσελίδων
Domain Names | Hosting

Adds