Reply to Re: [PHP] Retrieving query from MSSQL Table

Your name:

Reply:


Posted by Mike Smith on 04/28/05 15:51

On 4/28/05, Richard Lynch <ceo@l-i-e.com> wrote:
> I'm betting dollars to doughnuts that you've got a newline at the end of
> $sql1 which is messing you up.

You're right! Give that man a doughnut! When I tested the query in
Query Analyzer. I hit [Enter] to format the query and make it
readable, then copy-and-paste into the form. I have tried:

str_replace("\n","",$sql1);
and
preg_replace("\n","",$sql1);

to pull the new line out plus a few other variations. Those failed.
I'll keep at, but any pointers are always appreciated.

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация