On Jul 3, 2005, at 11:59 AM, Tom Shaw wrote:
Now there should be nothing wrong with the above that I can see BUT if I change the DB variable name from ip to ip_num all works OK
Strings are quoted with single quotes, not double quotes. Double- quoted strings are interpreted as column names.