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 |
 |
 |
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.
|
|
|
 |
|