Windchill
06-06-2003, 02:58 PM
Yup, I'm hopeless. Maybe someone knows a good PHP tutorial for me :D . Can someone help me(again :P )
|
Click to See Complete Forum and Search --> : HTML form->PHP variable. How? Windchill 06-06-2003, 02:58 PM Yup, I'm hopeless. Maybe someone knows a good PHP tutorial for me :D . Can someone help me(again :P ) pyro 06-06-2003, 03:17 PM I would recommend using the POST method on your form, and then you are able to reference them like this: $_POST["fieldname"] where fieldname is the name of your formfield. If you choose to use GET, you reference them like this: $_GET["fieldname"] Windchill 06-06-2003, 03:21 PM so I would do this: $whatever = $_POST("text_input"); Would I have this in the HTML or in the form target file? pyro 06-06-2003, 03:29 PM The form target file, and they need to be brackets [] rather than parenthesis () Windchill 06-06-2003, 03:30 PM oops... OK thanks. pyro 06-06-2003, 03:38 PM You also asked for PHP resources... you may be interested in the following sites: http://www.php.net (my personal favorite) http://www.phpbuilder.com/ http://hotwired.lycos.com/webmonkey/programming/php/index.html http://php.resourceindex.com/ http://www.zend.com/ more links can be found at http://www.php.net/links.php Here's a good list of PHP editors: http://phpeditors.dancinghippo.com/ webdeveloper.com
Copyright Internet.com Inc., All Rights Reserved. |