| A | amuro 2/9/2009 | 
| MySQL syntax for querying column of null value like this. | |
| T | taumic author 2/10/2009 | 
| Thank you Amuro, | |
| G | gawde 2/10/2009 | 
| Thank you Amuro, here is a small code: [codebox]if( ($values["RGP_EK"] == 0 ) or ($values["RGP_EK"] is Null) or ($values["RGP_MARGE"] == 0 ) or ($values["RGP_MARGE"] is Null) ) { $echo "Achtung: es ist was 0 oder NULL !" ; } return true; [/codebox] ..and that is the effect: "Parse error: syntax error, unexpected T_STRING in D:\Server\WWWROOT\Alaska\include\rg_pos_events.php on line 111" where line 111 = " or ($values["RGP_EK"] is Null)" So what is wrong ? Thank you! 
 | |
| T | taumic author 2/10/2009 | 
| Hallo greg_de, | |
| A | alang 2/10/2009 | 
| Looks to be a bit of confusion between SQL and PHP. The "IS NULL" is applicable in an SQL statement. In PHP try: | |
| T | taumic author 2/11/2009 | 
| Hallo AllanG, | |