On Thursday, March 21, 2002, at 06:26  PM, David Johansen wrote:

> Thanks that fixed the problem, but I have a question then. Am I 
> supposed to
> put the ' in the $_SESSION[] in the normal parts of code. Thanks,
> Dave

You should use either single quotes or double quotes in any associative 
index.  You do not need to use them for numeric indices.

$_SESSION['x_Email']
$_POST['loginName']
$form_html['button']
$count[1]
$item[7]

Don't forget that variables will not expand within single quotes.  Use 
double quotes if you have a variable in your associative index.

$_POST["filename{$i}"]

Again, not really an issue for numeric indices.

$input[$c]



Erik




----

Erik Price
Web Developer Temp
Media Lab, H.H. Brown
[EMAIL PROTECTED]


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to