Merhaba,

2012/2/1 Atıf CEYLAN <[email protected]>
>
>
> $g_veri = (int)$_POST['olmayan_dizi_elemani'];
> echo $g_veri;
> $b = 'ne yazarsan yaz';
> if ( $g_veri == $b )

if ( $g_veri === $b )

şeklinde deneyin.. Üç eşit işareti.

http://www.php.net/manual/en/language.operators.comparison.php
$a === $b       Identical       TRUE if $a is equal to $b, and they are of the 
same type.


> {
> echo ' - A ';
> }else{
> echo ' - B ';
> }
> echo $b;
>
> SONUC : 0 - A ne yazarsan yaz
>


--
--
Ali Rıza Keleş
_______________________________________________
Linux-programlama mailing list
[email protected]
https://liste.linux.org.tr/mailman/listinfo/linux-programlama
Liste kurallari: http://liste.linux.org.tr/kurallar.php

Cevap