You are here: Re[2]: [PHP] IBM's Learning PHP Part 1 tutorial. « PHP « IT news, forums, messages
Re[2]: [PHP] IBM's Learning PHP Part 1 tutorial.

Posted by Richard Davey on 07/06/05 20:43

Hello Marek,

Wednesday, July 6, 2005, 3:15:58 PM, you wrote:

MK> You can select just the id, and provided that the query returns just
MK> zero or one row, you can spare one function call.

Sure that will work fine - but I fail to see how it will save a
function call. You either select, check there was no mysql error and
then check numrows. Or you select count, check there was no mysql
error and check the count value. I fail to see how your method
provides on less function call, but please elaborate :) (and hey,
select count = less bytes transferred from MySQL to PHP, regardless ;)

Best regards,

Richard Davey
--
http://www.launchcode.co.uk - PHP Development Services
"I do not fear computers. I fear the lack of them." - Isaac Asimov

 

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

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