CodeCharge Studio
search Register Login  

Web Reports

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

YesSoftware Forums -> CodeCharge Studio -> PHP

 Store update and insert SQL query

Print topic Send  topic

Author Message
Sangoku

Posts: 2
Posted: 12/21/2004, 6:22 AM

after a update, i like to complete a table with user, time and the SQL generated with CCS.

This is my Custom Code, (after execute seclect)

global $membre1;
global $mem_enc;
$current_date = date('Y-m-d H:i:s');
$sql = "INSERT INTO `qqq` (`qui` , `quand` , `quoi`) VALUES ('".ccgetuserid()."','".$current_date."', '???????')";
echo $sql;
echo $sql_up;
$result = mysql_query($sql);

What replaces the ??????

I read your advice, and take a look at http://docs.codecharge.com/studio/html/ProgrammingTechn...yingOutput.html,

And now, thank you, it works great for the select SQL, but how can i store a update and insert SQL?
I try to put the same code in the beforeexecuteinsert, and the beforeexecuteupdate, with no success.
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.

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.