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]
|