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

Need help making a script that moves data into acrhive table
Hi,

I'm kinda new to php/mysql

And i wrote a simple script to store sales lead for a b

Sequre login with cookies.
I want to build secure login with cookies. I just want your ideas about this, your suggestions. What

Text to picture Generator
Hello, i have found this script and it works really good^^ But i have one problem, i would like to c

How to Create a Dynamic table
col1 col2 date1 date2 date3 date4..........
a b v1 v2 v3 v4

Change log of Cost centre change in Plant maintenance order
Hi,
How to view Change log of Cost centre in Plant maintenance order. Not visible thru 'Docume

please hep to get values from a table row
can anyone tel me how I can select and get data from one row by pressing an Edit button in that row

Login Control?!
I have a Web Site that uses the login control also I have set the destinationurl to the page I want

Code Review - SQL and Insertion Attacks (Warning: Not for Newbs)
Hey guys,

Its been a while, I know. Use to love coming here to answer peoples questions, but

Move array index to end
Hey guys,
Quick question:

I have an array that looks like this:
Code: [Select]$var =

Echo multiple lines of html code
Hi guys,

I would like to know if there is a way to echo multiple lines of html codes.

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