CodeCharge Studio
search Register Login  

Visual Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> Archive -> GotoCode Archive

 Direct MySQL Connection in Windoze, and Date Forma

Print topic Send  topic

Author Message
John Ramsden
Posted: 12/03/2002, 6:07 AM


I'm using CodeCharge Studio v1.0.7.0 to set up PHP web pages each with a
grid comprising information read from several MySQL databases (a summary
database, and another for each customer), and I have a couple of questions:

1. For test purposes I set up a couple of database connections by using
ODBC. But as the database names will be taken from a .ini file these
names cannot be hard-coded in the PHP code; so I'd rather access the
databases directly by using connection strings.

But how does one find the format for a connection string to a MySQL
database? The CodeCharge manual doesn't give any examples.

Another reason for wanting to use direct connections is that I want
the site to be able to run on Unix as well as Windows.

2. The table records I'm reading contain a couple of datetime columns,
and despite considerable efforts I've been unable to eliminate an
irritating warning that pops up each time I run any of the relevant
pages in live mode:

Warning: Set the Project Date Format property to work correctly
with the Date fields.

I don't want to turn off warnings (I wouldn't know how to do that
anyway.) But I'd appreciate any instructions/suggestions for how
to fix whatever is causing this warning.


Cheers

John Ramsden (john_ramsden@sagitta-ps.com)
John Ramsden
Posted: 12/03/2002, 8:51 AM


A reply I made to my own message didn't show up, maybe because
I didn't notice that the topic line needs filling for the reply
(whatever for, I wonder, if it's in the same thread?!)

Anyway, I stopped the Date Format warning, by clicking on
the project name in "Project Explorer" then in "Properties"
setting "Default Date Format" to yyyy-mm-dd.

(and if this reply doesn't go through, I'm not trying again !-)

   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.