RE: [PHP] newbie: PHP flow ....

From: Date: Fri, 28 Sep 2001 09:46:09 +0000
Subject: RE: [PHP] newbie: PHP flow ....
Groups: php.general 
Request: Send a blank email to php-general+get-69144@lists.php.net to get a copy of this message
Sounds to me like your difficulty is with html rather than PHP. The only way to get user response into a php script is by a page submission. This can be done by a form or a url (with a query string attached). The variables defined in this way are then available to the php on the page requested (in the url or the action of the submitted html form). e.g. <form action = "response.php"> <input type=text name=fred> </form> or <a href= "response.php?fred=bill">bill</a> <a href= "response.php?fred= harry ">harry</a> then, in response.php ... <?php echo($fred); ?> I came to web programming from designing and writing management information so I can appreciate your difficulty, but once you get your head around the client-server relationship and how they communicate you'll be fine. Tim Ward ---------- From: Jean-Christian Imbeault [SMTP:jean_christian@hotmail.com] Sent: 28 September 2001 05:07 To: php-general@lists.php.net Subject: Re: [PHP] newbie: PHP flow .... Thanks for the comments! I think I now understand that my problems lies in passing variables. So I will post another question on passing variables. Jc _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp

« previous php.general (#69144) next »