You are here: Re: Problem with executing MySQL queries through PHP. « PHP Programming Language « IT news, forums, messages
Re: Problem with executing MySQL queries through PHP.

Posted by Daz on 10/29/06 00:43

Pedro Graca wrote:
> Probably a wild-goose chase ... but try
>
> explain
> SELECT book_id AS bid, LEFT(book_name,1) AS letter,
> IF(is_retired='1',1,0) AS retired FROM pp_books;
>
> both in PHP and in the CLI. See if there's any difference.
Good thinking, Pedro!

Many thanks for your suggestion, I will give it a go. I can never quite
understand what the results of EXPLAIN means, but I guess I'd better
start learning. :)

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация