Hi,
Is it possible to "return" more than one values in PHP?
return $x;
return $y;
They don't work for me.
-T
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
I'm trying to find a way to get part of a string where the part is
matched with regular expressions.
So, for example, if I have a string:
a2b3cd5ef6ghi7232jklmn
I need to grab "12b3cd5" using regular expressions and store the part
in a variable.
$var = do_something("","","a2b3cd5ef
session before exiting the script, you could
try ending your scripts with:
As a general tip, I suggest you set your error_reporting to E_ALL on
your development machine. That would print out a notice when a
certain index or key is not set in an array.
best regards,
Stijn
Teck wrote
Hi,
I'm working to use cookie to maintain session data across multiple
pages in PHP4.42. I have the following two scripts, where I think the
second file outputs a data in a session variable.
file 1 - test_1.php #
Go next
##
fi
4 matches
Mail list logo