WeLoveCSS Logo
Home Profile Members Search Rules Help New Posts



WeLoveCSS > PROGRAMMING LANGUAGES > Scripting and Server Side > [SOLVED] Form with multiple different input types

Reply
  Thread Tools Display Modes
Old 11th July 12, 11:50 AM   #11
chrishirst
Banned
 
Join Date: Jun 2006
Location: Blackp ool U.K.
Posts: 3,197
Default Re: Form with multiple different input types

Quote:
Please, can someone look at the code and tell me if something obvious is missing or misconfigured about the form? I'd like to figure that out before worrying about the PHP and whether or not there is a scripting problem
A URL is needed to do that, don't really care about the PARTIAL code you have posted here we need ALL of the code in situ.
chrishirst is offline   Reply With Quote
Old 11th July 12, 12:32 PM   #12
benzoD
WLC Member
 
Join Date: Jul 2012
Posts: 6
Default Re: Form with multiple different input types

print_r($_POST); doesn't do anything; nothing happens when I push the button! There is no POST! It doesn't get to the PHP script!

I have this on a local testing server with no access to the internet and no FQDN but I guess I can upload a copy without db access to my web host. I'm not sure what you think is missing but this is it. It's a small form I've built for testing/learning. What do you think is missing? Is this not a good learning forum?

Here is a link with a PHP page that simply echos $_POST if the form could get to it: REMOVED, CODE IS IN THREAD EARLIER.

Last edited by benzoD; 12th July 12 at 12:20 PM.
benzoD is offline   Reply With Quote
Old 11th July 12, 04:01 PM   #13
chrishirst
Banned
 
Join Date: Jun 2006
Location: Blackp ool U.K.
Posts: 3,197
Default Re: Form with multiple different input types

to submit a form you need a submit button (type="submit") NOT a plain button that needs an event (onclick, onmousedown, onmouseup) attaching to it.
chrishirst is offline   Reply With Quote
Old 11th July 12, 04:22 PM   #14
benzoD
WLC Member
 
Join Date: Jul 2012
Posts: 6
Default Re: Form with multiple different input types

OMG Thank you. That worked.
benzoD is offline   Reply With Quote
Reply


Thread Tools
Display Modes
Linear Mode Linear Mode

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 06:29 PM.



Home | Advertise | Contact Us | Top
Home | Advertise | Contact Us | Top

Copyright© 2006 WeLoveCSS.com. All Rights Reserved.
Powered by vBulletin Version 3.8.4 Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.