I started with "PHP bible" by Converse/Park on IDGbooks.
Never needed anything more; used the manual and the web afterwards; for reference and
tips.
Another nice book is Wrox' "professional PHP programming".
All the best,
Eivind
--
PHP General Mailing List (http://www.php.net/)
You just register it...:
$_SESSION['your_array'] = $your_array;
It will be serialized automatically before stored.
All the best,
Eivind
- Original Message -
From: "Christoph Starkmann" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, April 24, 2002 2
> just run your array through a foreach loop assigning each key-value pair to a
> new array.
OK, I was trying to see if there was a more elegant way to do it, so I wouldn't have
to make the loop.
Like just re-mapping the indices to default values by a short and simple operation.
But it will do
Does nobody have a suggestion to the below?
Perhaps there is an easy solution, but I cant see it at the time.
Eivind
> Hi all,
> I have a question regarding array indices:
>
> At a certain point in code, I run array_diff() on two arrays to produce a reduced
>version of one of the argum
There is also one called 'phpbuilder'...
Eivind
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
You could use a SESSION variable called for instance 'SUBMIT_TO_DB'.
After submitting to the database, you simply set this variable 'SUBMIT_TO_DB' to
'NO'...
The next time the page is reloaded, you won't have to submit one more time to the
database, provided you check whether 'SUBMIT_TO_DB' is
This variable contains the IP address of the visitor:
$HTTP_SERVER_VARS["REMOTE_ADDR"]
Best regards,
Eivind
- Original Message -
From: "Cosmin" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, April 23, 2002 12:16 PM
Subject: [PHP] Re: get ip of visitor
This variable contains the IP address of the visitor:
$HTTP_SERVER_VARS["REMOTE_ADDR"]
Best regards,
Eivind
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi all,
I have a question regarding array indices:
At a certain point in code, I run array_diff() on two arrays to produce a reduced
version of one of the argument arrays.
Problem is, I dont want the key-value associations to be preserved.
I need that the returned array has new (integer, not st
Hi Kunul,
I think I have code that does what you want:
function QuickJumpSelect($name="", $optionvalues, $optionnames, $stylestr="")
{
($stylestr != "")? $style = $stylestr : $style = "";
// Calculate stuff
$count = co
10 matches
Mail list logo