CodeCharge Studio
search Register Login  

Visual PHP Web Development

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

YesSoftware Forums -> Archive -> GotoCode Archive

 For Alex Alexapolsky

Print topic Send  topic

Author Message
masster
Posted: 04/15/2002, 6:04 AM

Thank you for your quick answer.
I think I'm losing my minds, but it doesn't work
although is a very short project in CodeCharge.

If you'd be so kind, I put the .ccs and .sql database description for MySQL
at http://www.theu.ro/pack.zip for your review.

PLEASE, I need to know where I'm wrong.
Alex Alexapolsky
Posted: 04/15/2002, 6:21 AM

That is pretty simple. You can access primary key variable fldc_id
in event , since id is created only AFTER insert and CC doesn't assign this
value to any of variables , add the following line to your code
$fldc_id = mysql_insert_id();
masster
Posted: 04/15/2002, 8:51 AM

Thank you Alex. You're the man!

I unerstand that session is a pretty good solution for passing field values but I still wonder for how long the session variable is alive?

   


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

Web Database

Join thousands of Web developers who build Web applications with minimal coding.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


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