PHP Array quick help


Posted on 16th Feb 2014 07:03 pm by admin

I need

$_SESSION{'username'} to be like this:


if $_SESSION['username'] = "gayner,bob,jesus";
echo "ba blah ";

but do i use Arrays or what for those 3 nameS? how thanks

No comments posted yet

Your Answer:

Login to answer
280 Like 48 Dislike
Previous forums Next forums
Other forums

Batch Related Pricing
Hi, I need some clarity on the batch related pricing

For example the following are the b

login page does not execute a else statement
I've created a login page using sessions.
When an incorrect user name or password is entered then

Changes to hosting company's server has affected web contact form
I started a thread a couple of months ago about the contact forms on my client's website. Basically

Bar charts using Graphical Framework.
I am using Graphical Frameworks(GFW) to create a chart Graphic . There is no problem with the data d

Sufficient protection from bad input?
I am writing a simple script to let people upload 'pages' of their own content, be it simply a few b

MII Netweaver Server stopped due to CPIC connection Problem
Dear Experts,
We have SAP XMII 12.0 setup running on Netweaver 2004s,7.0, Java Stack only.

close site for maintenance
i get a tutorial, saying the following code can put our site offline, and only the developer can vie

passthru() help
Hi everyone,
I'm new to the forum and to PHP. I have some pretty good experience writing shell sc

Website Direction...
I recently used this code to try and make it so the page loads as http://www.domain.com/ when you ty

calculator
I can't figure out why this code doesn't work. No error messages. Page loads.

Code: <

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash