954,123 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

how can i display this in white ?????

I have got this code, which am trying to display it in white writing. I could get the first part in white but couldn't get the variable ($HTTP_SESSION_VARS['items'] to come up in white.

echo 'Total Items = '.$HTTP_SESSION_VARS['items'];


I have also tried the code below but got an error instead:

echo 'Total Items = '.$HTTP_SESSION_VARS ['items'];


Please please please help.

nike123
Newbie Poster
20 posts since Jun 2005
Reputation Points: 10
Solved Threads: 0
 

[php]echo "Total Items: " . $HTTP_SESSION_VARS['items'] . "";[/php]

cscgal
The Queen of DaniWeb
Administrator
19,421 posts since Feb 2002
Reputation Points: 1,474
Solved Threads: 229
 

yep, Thank you . That works

nike123
Newbie Poster
20 posts since Jun 2005
Reputation Points: 10
Solved Threads: 0
 

Awesome. Glad you got it working. I marked your thread solved for ya.

cscgal
The Queen of DaniWeb
Administrator
19,421 posts since Feb 2002
Reputation Points: 1,474
Solved Threads: 229
 

This question has already been solved

Post: Markdown Syntax: Formatting Help
You