What happened when you experimented? What were your results?
-Original Message-
From: Erik Price [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 04, 2002 2:03 PM
To: [EMAIL PROTECTED]
Subject: ENUM -- integers or strings?
A quick question --
If I have a table with an ENUM column,
There's no data in the database yet, so I haven't tested this code. I
don't want to use the mysql CLI client to input data b/c the data is
spread out over a number of tables, rather, I'm writing PHP pages that
provide a means to populate the database in an organized way. But until
the PHP
PHP will handle your var types for you just fine. If
you want to bet sure, so an intval() before you
compare.
On Fri, 4 Jan 2002 16:18:24 -0500, Erik Price used a
few recycled electrons to form:
| There's no data in the database yet, so I haven't tested this code. I
| don't want to use the