note 17531 deleted from function.is-int by jimw

From: Date: Thu, 20 Dec 2001 23:35:14 +0000
Subject: note 17531 deleted from function.is-int by jimw
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-23584@lists.php.net to get a copy of this message
When validating sql results being integer or not i use the following: $fields = mysql_listfields($db,$tbl); //$data = mysqlQUERY; if (mysql_fieldtype($fields,$q) { //treat $data[$q] as integer } is there an easier way>?

« previous php.notes (#23584) next »