Re: TableName with space

From: Date: Tue, 05 Jun 2007 11:38:49 +0000
Subject: Re: TableName with space
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-256082@lists.php.net to get a copy of this message
On 6/5/07, karthi keyan <karthi_ece_kec@yahoo.co.in> wrote:
Hi, How can I create a table with spaces "Order details" in MSSQL using PHP? I am able to create manually the table name with space by providing the name in Double Quotes. Is there a way out to do this using PHP? Thanks Karthik.
Why would you want to? Apart from not having to change / search through lines of legacy code. Use order_details or orderDetails or OrderDetails or orderdetails but DON'T curse yourself with a space in a table which you will have to quote every time it's used. Cheers - Miles

« previous php.general (#256082) next »