CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> Archive -> CodeCharge.Discussion

 Connecting to MySQL with PHP

Print topic Send  topic

Author Message
Marco Almeida
Posted: 10/22/2002, 1:35 PM

Hi there,

I've just get to know of the existence of CodeCharge, and I wanted to test
it making some php/mysql test pages.
I develop under WinXP, but all my sites are hosted in linux boxes.

So I've seen that CodeCharge makes the connection from php to mysql using
odbc/dsn... Doesn't it support to connect "old fashion php normal away"?

Something like:

$connection=mysql_connect($dbserver,$dblogin,$dbpass);
mysql_select_db($db,$connection);
.....
bla bla
....
mysql_close($connection);


This way my code would be fully Msft and Unix compatible.

Any ideas?

Tnks in advance,
Marco
Lisbon, Portugal


michael weaver
Posted: 10/25/2002, 10:05 AM

The generated code is compatible with both, just as you describe it. It will
work on linux, unix, windows, mac, etc. boxes. Codecharge 2 or CodeCharge
Studio must also connect to the database so you can build your project.
That's why it requires a odbc connection.

michael


"Marco Almeida" <marcoalmeida@netvisao.pt> wrote in message
news:ap4cq6$4ev$1@news.codecharge.com...
> Hi there,
>
> I've just get to know of the existence of CodeCharge, and I wanted to test
> it making some php/mysql test pages.
> I develop under WinXP, but all my sites are hosted in linux boxes.
>
> So I've seen that CodeCharge makes the connection from php to mysql using
> odbc/dsn... Doesn't it support to connect "old fashion php normal away"?
>
> Something like:
>
> $connection=mysql_connect($dbserver,$dblogin,$dbpass);
> mysql_select_db($db,$connection);
> ....
> bla bla
> ...
> mysql_close($connection);
>
>
> This way my code would be fully Msft and Unix compatible.
>
> Any ideas?
>
> Tnks in advance,
> Marco
> Lisbon, Portugal
>
>
>


   


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

PHP Reports

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

Home   |    Search   |    Members   |    Register   |    Login


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