CodeCharge Studio
search Register Login  

Visual PHP Web Development

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

YesSoftware Forums -> CodeCharge Studio -> General/Other

 Is this possible?

Print topic Send  topic

Author Message
Rihn

Posts: 6
Posted: 04/06/2004, 11:07 AM

I have a form that receives values from a program, I would like to submit the values to sql before the user see them, then display an update form with the ItemId from sql and additional values.
_________________
Harold Rihn
View profile  Send private message
Langston
Posted: 04/09/2004, 6:43 PM

Did you try creating the field on your form as "hidden"? If you need to display results based on this field you may try adding a separate field on your form (displayed) and add code in an "After Update" event.
RonB

Posts: 228
Posted: 04/11/2004, 4:16 PM

Yes create two seperate pages. 1 to handle the data from the program and one to show the form.

On the first page just catch the variables send by the program, asuming the program output is to url (somepage.php?variable1=value&variable2=value etc.

use the CCGetparam() function to "catch" the variables and use them in a query:
$sql= "insert into table(field1,field2) values(" .CCGetParam("variable1","") ."," .CCGetParam("variable2","") .")";

use the redirect function to redirect to the second page after the insert has finished.
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.

PHP Reports

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

Home   |    Search   |    Members   |    Register   |    Login


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