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

 [SOLVED] pass parameter after insert

Print topic Send  topic

Author Message
skysigma

Posts: 24
Posted: 10/23/2010, 1:38 PM

Hello to everybody

I have a little problem (I think so), but, since I don't know anything of about php, now I'm in trouble.

I have a first record page PAGE 1 where an user has to insert the following fields:
Id_page1
text1
text2

and than move to a second record page PAGE 2 where he has to insert the following fields:
id_page2
id_user
id_page1
text3
text4

The problem is that the PAGE 1 doesn't pass id_page1, so that, when I try to insert the values I get an error message saying that id_page1 is empty.

I've tried to use last_insert_id() in AfterInsert but it removes all the previous session variables from the URL, included id_user, so that the problem shifts to that field.
Please help me with LOT OF details.
Thank you very very much

Marco


--------------------------------------------

In PAGE1 I 've used last_insert_id() in AfterInsert for id_page1
In PAGE2 I've set the hidden control for id_used by CCGetUserID()
Question very stupid.

Thanks for the indirect help to wkempees:
http://forums.codecharge.com/posts.php?post_id=105525&s...GetUserID%28%29
and to melvyn:
http://forums.codecharge.com/posts.php?post_id=105525&s...GetUserID%28%29

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

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.