Hi,
I have a variable called $String which can contain 3 random numbers like so...
$String=12,94,423;
I then have $Num which is a single number from 1 - 20, I want to add $String
and $Num together like this
$String$Num
So I would end up with $String1=12,94,423; and then I can enter that
Hi,
No that doesn't quite work, using your example it returned in my session file
!10,47,552|
If I change session_register($sess); to session_register(sess); it gives me
sess|s:9:10,47,552;
And what I want is
String1(or 2,3,4,5 etc whatever the value of $Num is)|s:9:10,47,552;
Ade
--
PHP
2 matches
Mail list logo