ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Cool, I'm glad that you found something useful there.
Now if I'm not mistaken, without running that code, it looks to me like it will print a semi-colon at the very beginning of the output. Is this correct? And if so, is that OK?
I can't use the way you suggested because "x" is not a constant. Just to clarify:
...
(you see now why I reduced the problem in the first place ? If I am using a database, or how the "x" is evaluated it is not important - just "print x," printing a extra space is the problem.)
so why don't you show a sample of the sql output, and how you want to format it?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.