CodeCharge Studio
search Register Login  

Visual Web Reporting

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

YesSoftware Forums -> CodeCharge Studio -> PHP

 saving codecharge SQL query into Mysql table

Print topic Send  topic

Author Message
Fabrice
Posted: 12/17/2004, 9:37 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 ??????

Thank you
peterr


Posts: 5971
Posted: 12/17/2004, 4:28 PM

Take a look at http://docs.codecharge.com/studio/html/ProgrammingTechn...yingOutput.html
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com
View profile  Send private message
Fabrice
Posted: 12/20/2004, 3:17 AM

Thank you, it's working perfectly for the Select code, but how can i see the update or insert code. I work with a grid and record, i try the beforeexecuteinsert, but with no results.

By the way, the link you sended work ok, but when you select 'php' aboce the page, the code is invisible.




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.