Forum NewsForumsHTF Chat Hardware ReviewsSoftware Reviews HTF Events
Home Theater Forum
Home Theater Forum
Home Theater Forum
Home Theater Forum Forum Search: 
 
Web Search: 
 
Home Theater Forum
Home Theater Forum
Home Theater Forum



Reviewed (10/11/08)
Home Theater forum blazes ahead with reviews that are designed to help you make the right viewing choice! This week Ken McAlinden reviews Albert Lewin's MGM adaptation of Oscar Wilde's The Picture of Dorian Gray, a highly awaited release that gets notable recommendation. Todd Erwin gives us two reviews of the recent "Indie" releases, Harold, starring Spencer Breslin -and- Dororo, a live-action comic book adaptation directed by Akihko Shiota. TVShowsOnDVD this week include 30 Rock: Season 2, The Sarah Silverman Program Season Two Volume One, Lil' Bush: resident of the United States Season Two, and Mission Impossible: The Fifth Season. Finally, new Blu-ray reviews include Indiana Jones and the Kingdom of the Crystal Skull, The 40-Year-Old Virgin and Poltergeist.
 
TV and HDTV Programming (10/11/08)
Warm up your cool fall season with new premiers this week that include Little People Big World (PICTURED, 5th Season, 10/13, TLC); Samantha Who? (2nd Season, 10/13, ABC); My Own Worst Enemy (10/13, NBC); Eli Stone (2nd Season, 10/14, ABC); Time Warp (10/15, DISCVRY); Parking Wars (2nd Season, 10/15, A&E); David Alan Grier's Chocolate News (10/15, COMEDY CENTRAL); Crusoe (10/17, NBC) and Real Simple Real Life (10/17, TLC). Season Finales this week include The Cleaner (10/13 A&E); The Rachel Zoe Project (10/14, BRAVO); Project Runway (10/15, BRAVO) and Destination Truth (10/15 SCI-FI). You can discuss all your favorite programs with other HTF members in our TV & HDTV programming forum

 
Forum Jump

Forum Sponsors

Home Theater Forum > Other Diversions > Computers and HTPC
[ Creating forms have a MySQL question ]

Post New Thread  Reply

 
Thread Tools Search this Thread
Home Theater Forum
Old 02-23-2004, 08:08 PM   #1 of 3
Greg Haynes
Member
 
Join Date: Oct 1998
Local Time: 05:04 AM
Local Date: 10-14-2008
Posts: 707

Client of mine would to create a simply section on her site to input client information. I can create the form for her to enter but I need help with storing the data. I know I need to create a mySQL db using my hosts cpanel, I started playing with it and starting creating fields but how do I save all the data that the user enters into the db. Bascially how do I connect to the db using Dreamweaver MX.

I just need some simple steps on setting the db up and having the data stored. Thanks in advance.
Greg Haynes is offline Quote this post in a PM Send Support Ticket
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote Multi-Quote with this Post
sendpm.gif
Home Theater Forum
Home Theater Forum
Home Theater Forum
Home Theater Forum
Old 02-23-2004, 09:41 PM   #2 of 3
Greg Haynes
Member
 
Join Date: Oct 1998
Local Time: 05:04 AM
Local Date: 10-14-2008
Posts: 707

I created a simply form with one textbox and a submit button. The database has been created with 2 fields with one field as an autonumber and the other a simply text field. The code is below with the form and so how do I have the text box assign to the field in my table. Do I need to write an SQL statement on website? If so how do assign an sql statement to the submit button.

< !DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
< html>
< head>
< title>Untitled Document
< meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

< /head>

< body>
$dbh=mysql_connect ("localhost", "rh1447_ghaynes", "< PASSWORD HERE >") or die ('I cannot connect to the database because: ' . mysql_error());
mysql_select_db ("rh1447_contact");
?>

< form name="form1" method="post" action="">

< input type="text" name="textfield">
< input type="submit" name="Submit" value="Submit">
< /form>
< /body>

< /html>
Greg Haynes is offline Quote this post in a PM Send Support Ticket
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote Multi-Quote with this Post
sendpm.gif
Home Theater Forum
Home Theater Forum
Old 02-23-2004, 10:27 PM   #3 of 3
DaveF
Member
 
Join Date: Mar 2001
Local Time: 06:04 AM
Local Date: 10-14-2008
Posts: 4,964

Greg, as with your search question, you will need to use server-side processing. You need some logic code using PHP, Perl, etc. to process the information sent by the form and insert it into the database. I'm just a hobbyist and haven't done any database or PHP work in a while, but I don't think there's any way to do this with straight HTML or javascript.

That said, it's pretty easy with a little PHP code. The PHP and MySQL websites have lots of good documentation. I recommend doing some reading there.
DaveF is offline Quote this post in a PM Send Support Ticket
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote Multi-Quote with this Post
sendpm.gif
Home Theater Forum
Post New Thread  Reply



Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump

All times are GMT -5. The time now is 05:04 AM.
Total Page Views Since 7/8/2006: 166,952,934 | Page Views Today: 31,620


Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0

© 1997-2008 PARRON Enterprises, LLC
No part may be copied or reproduced without the
express written permission of the owners of this site.

  
Skin Chooser: 
Forums Directory