[thelist] PHP: Variables in forms

John Corry webshot at neoncowboy.com
Mon May 14 04:42:03 CDT 2001


<input type="text" name="textfield" value="$name">

This will only work if its in <?php ?> tags...



> -----Original Message-----
> From: thelist-admin at lists.evolt.org
> [mailto:thelist-admin at lists.evolt.org]On Behalf Of Tarrant Costelloe
> Sent: Sunday, May 13, 2001 11:28 PM
> To: Thelist (E-mail)
> Subject: [thelist] PHP: Variables in forms
>
>
> I have a login script for public accounts written in PHP4. Once submitted,
> the name, username & password are all passed to the secure section as
> variables.
> I know this works due to a "Logged in successfully" comment and a personal
> welcome using the $name variable.
>
> The problem is simply this, within the secure section assuming they logged
> in successfully. There is an option for them to edit their account
> information. To do this I have set-up a similar form to what they used to
> access the member section and want the original variables to be already
> within the input boxes, e.g.
>
>
>
> Could someone solve this problem for me, far too early for me :)
>
> Taz
>
> ---------------------------------------
> For unsubscribe and other options, including
> the Tip Harvester and archive of TheList go to:
> http://lists.evolt.org Workers of the Web, evolt !
>
>





More information about the thelist mailing list