Jochem Maas wrote:
mike schreef:
Mon, Oct 6, 2008 at 12:17 PM, Daniel Brown <[EMAIL PROTECTED]> wrote:
I will get an error, but if I prefix the value with '@',
[EMAIL PROTECTED]"q"];
The @ is an error control operator, used to buffer the output and
store it in a variable
mike schreef:
> Mon, Oct 6, 2008 at 12:17 PM, Daniel Brown <[EMAIL PROTECTED]> wrote:
>
>>> I will get an error, but if I prefix the value with '@',
>>>
>>> [EMAIL PROTECTED]"q"];
>>The @ is an error control operator, used to buffer the output and
>> store it in a variable - $php_errormsg.
>
Mon, Oct 6, 2008 at 12:17 PM, Daniel Brown <[EMAIL PROTECTED]> wrote:
>> I will get an error, but if I prefix the value with '@',
>>
>> [EMAIL PROTECTED]"q"];
>
>The @ is an error control operator, used to buffer the output and
> store it in a variable - $php_errormsg.
>It's better to wr
On Mon, Oct 6, 2008 at 3:03 PM, Crash Dummy <[EMAIL PROTECTED]> wrote:
> I learned through osmosis that I could use the '@' sign to prevent an
> error with an uncertain variable. For example, if there is no $_GET[]
> value in this line,
>
> $query=$_GET["q"];
>
> I will get an error, but if I prefi
Documentation is at:
http://br.php.net/manual/en/language.operators.errorcontrol.php
Angelo
2008/10/6 Crash Dummy <[EMAIL PROTECTED]>:
> I learned through osmosis that I could use the '@' sign to prevent an
> error with an uncertain variable. For example, if there is no $_GET[]
> value in this l
I learned through osmosis that I could use the '@' sign to prevent an
error with an uncertain variable. For example, if there is no $_GET[]
value in this line,
$query=$_GET["q"];
I will get an error, but if I prefix the value with '@',
[EMAIL PROTECTED]"q"];
and no value is available, a null st
6 matches
Mail list logo