";
unset( $array[ 'test' ] );
echo "after " . $array[ 'test' ];
?>
returns:
before chris
after
hence, the unset function works fine for me. what version of php are you
running?
""Tom"" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I can't seem to get uns
Is the class variable declared as an array?
class test{
var $reasons = array();
function addReason( $score, $reason, $id ) {
$reasons[ $index ] = "$score|$reason|$id";
}
}
Hope this helps,
-C
""Bob"" <[EMAIL PROTECTED]> wrote in message
9ec2rm$etg$[EMAIL PROTECTED]">n
You could always do a cron job and have a script run every 10-15 minutes,
load the existing and connecting IP's in a text file and use another script
to print out the latest successful pings.
-C
""Brian"" <[EMAIL PROTECTED]> wrote in message
9e4msm$e5a$[EMAIL PROTECTED]">news:9e4msm$e5a$[EMAIL P
XHTML is just making your HTML documents XML ready. This means closing your
tags, etc..
And Rasmus is right when he says PHP is 100% compatible with XHTML.
-C
<[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> i won't pretend to be an XML guru, but isn't saying
Does anyone know how to create a PHP source file (.phps) in windows? I tried
looking on the PHP site and had no luck.. Any help would be greatly
appreciated..
Am running IIS5.0 with PHP4.0.5
Thanks!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
5 matches
Mail list logo