|
Posted by The Eclectic Electric on 09/13/06 13:17
"Serious_Practitioner" <Serious_PractitionerNOSPAM@att.net> wrote in message
news:IJyNg.28974$QM6.17418@bgtnsc05-news.ops.worldnet.att.net...
> Please be gentle - I'm new...
>
> I want to create a form for use with a PHP routine. I have been using
> FrontPage 2003 and I discovered that, if I use the FP Form Wizard utility,
> I get a lot of code that does not seem necessary or suitable for use with
> PHP.
>
> So my question is - can I simply create text boxes for input, name them
> and then go on to use those names in the PHP routine? Any warnings or
> suggestions about this?
>
Front Page has its uses (very handy for creating verbose, non-compliant HTML
for pretty home pages that will be visited by limited numbers of people) but
if you're competent enough to learn PHP then HTML should be a breeze.
I used to use it to create my layout then tidy up any bits of HTML that I
didn't like. But now I've started being a bit more serious about my
development, it just gets very tedious having to take out/reformat
everything that goes awry. Plus if I'm not mistaken it's guilty of adding
Microsoft proprietary tags as well.
As for warnings about using forms, as someone rather new to them myself, I'd
say use the "GET" method initially so that you can see what is being passed
in the URL in case you need to debug anything. Also, if your form control
is suitable (e.g. a SELECT MULTIPLE), you can get the contents passed as an
array if you name it in the form "name[]".
+e
Navigation:
[Reply to this message]
|