Reply to Re: correct syntax?

Your name:

Reply:


Posted by Veikko Mäkinen on 06/17/05 12:18

aggelos wrote:

> what about :
> $thecustid = "SELECT custid FROM customers WHERE userid ='"
> $_SESSION['MM_Username']."'";
>

This is also acceptable and might even be more efficient than parsing
variables within a string. To make it more efficient, replace double
quotes (") with single (') when you don't need them ie. when there are
no variables inside the string.


-veikko

P.S. Please learn how to quote and reply with out top-posting. thanks.

--
veikko
mail@ .com
makinen

[Back to original 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

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