InterBase -> selecting from a non existing id value?

From: Date: Wed, 01 Aug 2001 23:12:45 +0000
Subject: InterBase -> selecting from a non existing id value?
Groups: php.db 
Request: Send a blank email to php-db+get-10978@lists.php.net to get a copy of this message
Hello, is it possible with InterBase to fire a select statement against an empty table witout getting in trouble. if the table "X" looks like this: id -> integer dummy -> varchar and if I do now a select like "select * from x where id='$id'"; I will get the error Warning: InterBase: conversion error from string "" I have heard that other RDBMs don't run into trouble if you do this? What could I do? Remember $id is an empty value! thx Henning

« previous php.db (#10978) next »