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