CodeCharge Studio
search Register Login  

Visual PHP Web Development

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

YesSoftware Forums -> Archive -> CodeChargeStudio.Discussion

 transfer input variables?

Print topic Send  topic

Author Message
Eric Hendrickson
Posted: 04/16/2003, 7:03 PM

This is a multi-part message in MIME format.

------=_NextPart_000_0040_01C3044A.EAC86B00
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Greetings,

I've never programmed before so I'm climbing a number of learning curves =
at the same time. I'm using php4 with MySQL and I've made great progress =
on my application so far. I have a couple of questions though. I need to =
pass a variable from one page to another after insert and I'm banging my =
head against the wall.

I read the support document at GoToCode that covers this topic but I'm =
having trouble understanding the terminology. The documents states "This =
should be done only if the record form has transfer input parameters". =
I'm not really sure what that means exactly. The input form does have =
Preserve Parameters set to "GET and POST" and I've removed all =
parameters except the PK. When I submit from the input page I am sent to =
the correct results page but the "&pk=3Dn" part is not being appended to =
the URL.=20

I added an "After Execute Insert" event to the form:

$last =3D mysql_insert_id ();
$sParams .=3D "&inkey=3D".$last;

but it's just not making it to the results. I'm just not sure what I'm =
missing at this point....

tia,

Eric

------=_NextPart_000_0040_01C3044A.EAC86B00
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1141" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Greetings,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>I've never programmed before so I'm =
climbing a=20
number of learning curves at the same time. I'm using php4 with MySQL =
and I've=20
made great progress on my application so far. I have a couple of =
questions=20
though. I need to pass a variable from one page to another after insert =
and I'm=20
banging my head against the wall.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>I read the support document at GoToCode =
that covers=20
this topic but I'm having trouble understanding the terminology. The =
documents=20
states <EM>"This should be done only if the record form has transfer =
input=20
parameters"</EM>. I'm not really sure what that means exactly. The input =
form=20
does have Preserve Parameters set to "GET and POST" and I've removed all =

parameters except the PK. When I submit from the input page I am sent to =
the=20
correct results page but the "&pk=3D<EM>n</EM>" part is not being =
appended to=20
the URL. </FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>I added an "After Execute Insert" event =
to the=20
form:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3D"Courier New" size=3D2>    $last =3D =
mysql_insert_id=20
();<BR>    $sParams .=3D =
"&inkey=3D".$last;</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>but it's just not making it to the =
results. I'm=20
just not sure what I'm missing at this point....</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>tia,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Eric</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV></BODY></HTML>

------=_NextPart_000_0040_01C3044A.EAC86B00--

   


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

MS Access to Web

Convert MS Access to Web.
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.