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 in Generating Combinations
Need help generating all possible combination of names in an array

Lets say i have the follow

Passing Variables
What I'm wanting to do is when the user clicks on Arenas it will know the name of the country it's w

default SAP userid
hi,, I just like to know if it is ok to use the default SAP user id (SAP*)?

List/Menu Box
On an edit page when you want something to select what a user has previously selected from the datab

Problem with creating FI documents
Hi, Experts!

when i create Fi doc. with standart transaction, i ve been had such problem

help with this code please?
Hello,

I am trying to build a remote upload script for my image hosting site.

I am usi

Am I setting up my sites oldschool?
Ok,

When I create a site I open a basic template that I have created that consists of a css f

Breaking results into week blocks
I have a set of dates (and times), which are returned from a mySQL query.

These usually span

Dynamic links in an include file
I am working on a small piece of code that counts records from a database and displays the result to

How do I replace any number of character occurences with one occurrence?
How do I replace any number of character occurences with one occurrence?

Let's say I have:

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