So I'm testing this thing I'm making. And the configuration settings are kept in the database, like so:
id name value
1 language en
etc. Well, the only problem is, the query I'm using:
SELECT * FROM {$prefix}config
Only returns the rows that have an even number for an id. I tried:
SELECT * FROM {$prefix}config WHERE id='1'
But that didn't return anything and:
SELECT * FROM {$prefix}config WHERE id='19'
Didn't return anything either. Does anyone know a fix?