[PHP] Printing MSSQL-Query ERROR description in PHP
Hi, Is there any way to print the reason why the query has been failed, like the way MySQL-PHP has mysql_error()? Regards, KARTHIK. - Download prohibited? No problem! CHAT from any browser, without download.
[PHP] TableName with space
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. - Download prohibited? No problem! CHAT from any browser, without download.
Re: [PHP] TableName with space
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/ - Heres a new way to find what you're looking for - Yahoo! Answers