To register for an Internet.com membership to receive newsletters and white papers, use the Register button ABOVE.
To participate in the message forums BELOW, click here

HOME News MS SQL Oracle DB2 Access MySQL PHP Scripts Books Links DBA Talk


Go Back   Database Journal Forums > Related Sites > SQL Course

SQL Course SQL Course > Ask questions about the lessons on SQL Course 1 and 2. If you have problems > with the interface, please post in the Feedback forum

Reply Post New Thread
 
Thread Tools Search this Thread Rate Thread Display Modes
  #1  
Old 02-28-2003, 09:49 AM
rasmith rasmith is offline
Junior Member
 
Join Date: Feb 2003
Location: Reading
Posts: 4
Unhappy MySQL

I am currently trying to complete part of my A-level coursework but am stuck.

i am creating a website for a restaurant on which customers can submit information to do with four areas:
---------------------
Bookings
Comments
Job Applications
Pre-order
----------------------

i have used access alot in the past and had no problems creating a running model of my final database.

i have built my website and created the four tables in the alloted MySQL area that came with my website package.

BIG QUESTION:

how do i create the interface for people to submit data and for it to be sent to my database?

i am a complete beginner to MySQL using it for the first time this week so im not sure what i need to do in the slightest to solve this issue

-------------

any help or advice would be VERY VERY gratefull
Reply With Quote
  #2  
Old 03-07-2003, 12:35 PM
Najjar Najjar is offline
Registered User
 
Join Date: Feb 2003
Location: Tallahassee, Florida USA
Posts: 43
If you are using PHP then this is how u connect to the database

mysql_connect('','username','password');
mysql_select_db(databasename);
$sql = "SELECT * FROM tablename";
$result_Name = mysql_query($sql);
$row_Name=mysql_fetch_row($result_Name);


otherwise

tell me more about what u r using
and i hope that i can help

Sites might help:
www.HotScripts.com
www.mysql.com


Reply With Quote
Reply Post New Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 Off
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 04:32 AM.


DatabaseJournal Recent Articles


 » Preparing To Upgrade Access Tables to SQL ...

 » Microsoft Windows PowerShell and SQL Serve...

 » New MySQL Enterprise with Query Analyzer B...

 » Quest Software Strengthens Committment to ...

 » Oracle Unveils New Event-Driven Middleware...

Search Database Journal:
 





Acceptable Use Policy

JupiterOnlineMedia

internet.comearthweb.comDevx.commediabistro.comGraphics.com

Search:

Jupitermedia Corporation has two divisions: Jupiterimages and JupiterOnlineMedia

Jupitermedia Corporate Info


Legal Notices, Licensing, Reprints, & Permissions, Privacy Policy.

Web Hosting | Newsletters | Tech Jobs | Shopping | E-mail Offers

Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.