CodeCharge Studio
search Register Login  

Visual PHP Web Development

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

YesSoftware Forums -> CodeCharge Studio -> General/Other

 Read only transactions

Print topic Send  topic

Author Message
amar

Posts: 8
Posted: 02/27/2010, 11:40 PM

I was just wondering if CodeCharge has a standard functionality to perform read only transactions? i.e. No insert, update or delete events.

Just imagine a situation where you want to send a forgot password mail to user where NO insert, update or delete is required. All you need to do is do a select query to check if email exists for the user then send an email. How can this be achieved in codecharge way?

Any comment is much appreciated!


_________________
~~
View profile  Send private message
datadoit
Posted: 02/28/2010, 11:27 AM

A PHP sample:

global $Connection1;
$db = new clsDBConnection1();
$Result = CCDLookUp("email", "tbl_users", "user_id=" .
CCToSQL(CCGetUserID(), ccsInteger), $db);
$db->close();

if ($Result) {
send'em some mail!;
}
amar

Posts: 8
Posted: 02/28/2010, 1:32 PM

thanks for ur reply... :)
_________________
~~
View profile  Send private message

Add new topic Subscribe to topic   


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.