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

Error in Configure System Landscape Directory phase
Hi

We are getting the error in Configure SLD phase ( 41 of 44 phase).

Please f

Undefined Variable: PHP_SELF, pls help
Hi,

Im a newbie on PHP / MySQL programming and Im running a script to search one field on my

php/mysql problem
Hey all,

Problem: im trying to setup a shop where people can use a drop-down list to select t

Appending GET data with form submition
Okay, what I'm trying to do is to use a form to append an already existing GET data string.

I

Calculus Help (and by help I mean homework)
Hrmmm, I hate posting about math homework, partly because it's homework, and partly because I hate w

Selecting an "empty" date formated field
How do you select an "empty" date field? I've tried the few ways I can think.
SQL> select

Not loading image
When this function gets loaded it doesn't load the image just trying to figure out why.

Code:

show the direct link into href
I want to display link on the page. i am fetching the data(URL) from database,actually before that i

At max how many columns is advisable to create in a table/view
Hi All,
I have two transaction table from which i want to create a simple view or material

big pagination problem in php
<?php

$connect = mysql_connect("localhost", "root", "")

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