Re: PHP weirdo bahavior (code mutation)

From: Date: Fri, 10 Oct 2003 20:03:49 +0000
Subject: Re: PHP weirdo bahavior (code mutation)
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-165784@lists.php.net to get a copy of this message
Mohamed Lrhazi wrote:
I am using a PHP application called modernbill, which uses iocube encoder... PHP very frequently dies with SIG fault... 4.3 dies systematically While working on this problem I stumbled on this behavior : In my code, I have something like this: $table_customer="customer"; $sql="select * from [$table_customer] where [id] = '$id' ";
Try $sql = "SELECT * FROM ".$table_customer." WHERE id = '".$id."'"; and see if you get the same error. If you are using MSSQL, I think that [ ] are optional, but I could be mistaken. [ snip ] -- Burhan Khalid phplist[at]meidomus[dot]com http://www.meidomus.com

« previous php.general (#165784) next »