|
|
#1 |
|
Registered
Join Date: Dec 2009
Posts: 20
|
Create a Form and Submit
Hi I'm very new but would like to know if anyone can recomend a good tutorial that can instruct me on how to create form on my site to collect data for guitar equipment reviews.
I have created some basic forms my problem is what to do with the submit button. I would like the information to go to some form of php database and be displayed on a page in my site but I'm very green and new to this and would like some info on a good tutorial or a free software package that could do it without any programming knowledge if there are no good tutorials out there. thanks. |
|
|
|
|
|
#2 |
|
Administrator
Join Date: Feb 2003
Location: East Lansing, MI USA
Posts: 6,971
|
You could just use a software package like wordpress to be your CMS, and thus use it's built in comment feature. Builing one from scratch for a php newbie is going to be quite a difficult undertaking and not something I would recommend.
Here is a tutorial though http://www.websitepublisher.net/arti...p-mysql-intro/ |
|
|
|
|
|
#3 |
|
Registered
Join Date: Dec 2009
Posts: 20
|
Cheers will check it out. Done some basic php stuff in the meantime and managed to get a basic form to email one going and a ile upload script working. Starting to understand the basics its just trying to find out what code etc... to use to get the submit to create a new page on my site with the details from the form that was sub into into it.
|
|
|
|
|
|
#4 |
|
Not that blue at all
Join Date: May 2004
Location: UK
Posts: 925
|
I have been messing about with forms over the weekend, and came accross this article which sorted out my issue on why checkboxes were not returning the correct results.
It may help http://www.tizag.com/phpT/examples/formex.php |
|
|
|
|
|
#5 |
|
Registered
Join Date: Dec 2009
Posts: 20
|
THANKS!! On first reading this is what I'm looking for. Will let you know how I get on.
|
|
|
|
|
|
#6 | |
|
Administrator
Join Date: Feb 2003
Location: East Lansing, MI USA
Posts: 6,971
|
Quote:
|
|
|
|
|
|
|
#7 |
|
Registered
Join Date: Dec 2009
Posts: 20
|
GOT IT. After some research, learning, and much trial and error I finally managed a basic form and search. If you get a chance I would appreciate it if anybody could have a look and see if it looks OK.
Will need to get some review added now and some code to stop abuse and swear words being added but the basics are there thanks guys for the help. |
|
|
|
|
|
#8 |
|
Registered
Join Date: Sep 2008
Location: USA
Posts: 149
|
You should put a direct link to the form page, in your post (I had trouble finding the page) so people can review it.
It looks very basic, but I don't like the alignment of the text-fields. They are all snug up against the edge of your page design. You should have a small margin, so that it looks more polished up. Other than that I think it's OK.
__________________
If you follow all the rules, you miss all the fun. Sites: Bustout Dealer CASINOVILLE comics Playing Cards Sharps & Flats CARDSHARK Online CARDSHARK Online Blog Cardshark.TV NCIG The Mott Street Poker Club |
|
|
|
|
|
#9 |
|
Not that blue at all
Join Date: May 2004
Location: UK
Posts: 925
|
I agree with Mr Pink that the formating of the result could do with some refinement but the form itself seems to work well. I also like the a -z search (something I use as well as it helps people get more results to review)
On a technical issue, If you click 'M' it comes up with a review for a Peavey VYPYR 15 Watt Practice Amp, so not sure why this is in the M category? |
|
|
|
|
|
#10 | |
|
Registered
Join Date: Dec 2009
Posts: 20
|
Quote:
Link is http://www.guitarandsong.com/guitar-reviews.htm then click option on right hand menu. |
|
|
|
|
|
|
#11 | |
|
Roll Tide!
Join Date: Apr 2004
Location: Mobile, AL
Posts: 429
|
Quote:
PHP Code:
PHP Code:
__________________
Shawn Kerr .com |
|
|
|
|
|
|
#12 |
|
Administrator
Join Date: Feb 2003
Location: East Lansing, MI USA
Posts: 6,971
|
or
select * from your_table where your_column like '$by%' |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Submit a form (POST) via PHP. | Chris | Website Programming & Databases | 5 | 09-03-2007 05:36 AM |
| How much will it cost to form and run a corporation? | snowstar | Business and Legal Issues | 1 | 03-01-2006 01:42 PM |
| Form in Publsiher 2003 | jazzy12 | HTML, CSS, Layout, and Design | 6 | 04-30-2004 11:37 AM |
| Form positioning | lo0ol | HTML, CSS, Layout, and Design | 7 | 12-06-2003 09:50 AM |
| More form junk... | Stevens | Website Programming & Databases | 4 | 11-05-2003 06:09 AM |