Hi,
   
  Double qoutes inside a PHP script is not working for spaces. I got the 
answer. We have to use square bracket from PHP.
   
  $query = "create table [order details]....";

Chris <[EMAIL PROTECTED]> wrote:
  karthi keyan 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?

Put double quotes around it in php - rather simple really.

$qry = 'create table "my table name" .... ';

-- 
Postgresql & php tutorials
http://www.designmagick.com/


                        
---------------------------------
 Here’s a new way to find what you're looking for - Yahoo! Answers 

Reply via email to