[PHP] question the function begin with @

2002-01-28 Thread Vincent Ma

Hi everyone:

  I saw some code, the function is called with @..

  like "@copy(,)".  anyone can ask me what the purpose of the
function begin with symbol @

Vincent Ma



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] php modify my javascipt code before output????

2002-01-15 Thread Vincent Ma

Hi everyone :

  I got a amagzing problem about javascipt after integrate to php.  PHP will
modify the ouput of javascipt, produce the error when first load that page.
However, reload this page, no error.

Orginal javascipt:

function f31(v31,v23,ocjs,hrck,cn)
{
  return "http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] sytax to remove specifc item in string-indexed array???

2001-12-16 Thread Vincent Ma

Hi everyone:

  I would like to know how to specific item in array.  For the add new item
to array, we know just :

   $array += array("$key" => "$value");

How to remove specific item in array???

  I tried -->  $array -= ("$key" => "$value");
 Don't work... >_<.

Before, i saw some code in other website, they used...

  $array[$index] -= $value <-- to remove???
 ### i think this just work to number-indexed array
       not for string-indexed array


Thank for you help

Vincent Ma




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]