I am trying to get the following to work:
"Select Netid from Users where Netid = '$_SESSION[phpCAS][user]'"
Netid is a string type.
No matter where of if I put the quotes, I still get array[phpCAS] not the
value.
Maybe try this :
$q = 'Select Netid from Users where Netid = "' . $_SESSION[p
function createvar($var) {
${$var} = 'foo';
global ${$var};
//or global $$var, i don't know it yet.
}
This should work.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
check this :
http://nl3.php.net/manual/en/book.simplexml.php
best regards
Robert
Angelo Zanetti :
Hi all,
I have the following snippet of XML:
Code:
HasPictures="true">
Maybe, because of this ?
$category[$row['name']] = $row;
.
$cat = $category[$ii]['name']; //===this is line 36==
best regards
Robert
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
4 matches
Mail list logo