voodoochicken Posted February 16, 2008 Share Posted February 16, 2008 hi, suppose i make a fetch array on a row, and a value on that row is not defined yet, something like$row=mysql_fetch_array($some_pointer);now there is a field in row that is not been defined, how is this validated? for exampleif ($row['some_field']==false) { echo "this value is not defined for this row";}would this work? does 'isset()' work to test null values?tnx Link to comment Share on other sites More sharing options...
Synook Posted February 16, 2008 Share Posted February 16, 2008 if ($row['some_field'] == null) {echo "this value is not defined for this row";} That should work. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.