Beginner Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOtherBeginner Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old July 23rd, 2003, 09:23 AM
vics vics is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Posts: 17 vics User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Unhappy Connecting MySQL to a web portal

Right, I am currently designing a web portal for an educational organisation, I am quite competant in HTML, so the designing of web pages should be ok (i hope!), however they require the ability to manipulate data from a database via the web portal. I will be designing the database as a MySQL database, and I do have some knowledge of SQL and Java.

However the problem begins as I have no idea how to give the web portal the ability to see the information in the database, or manipulate it in anyway. I dont know what to do once I have designed the web pages, how to I call specific information from the database? Can I write SQL or Java to call it?If so will I need to download an programs to enable me to do this?

As you can see I am confused - and i hope I havent confused you reading this!

I really hope someone can help!

If i havent explained it properly and you think you can help please tell me and ill try and give you more info!

HELP!!

Reply With Quote
  #2  
Old July 23rd, 2003, 09:31 AM
karsh44's Avatar
karsh44 karsh44 is offline
Just another guy
Dev Shed Frequenter (2500 - 2999 posts)
 
Join Date: Jun 2003
Location: Wisconsin
Posts: 2,915 karsh44 User rank is Second Lieutenant (5000 - 10000 Reputation Level)karsh44 User rank is Second Lieutenant (5000 - 10000 Reputation Level)karsh44 User rank is Second Lieutenant (5000 - 10000 Reputation Level)karsh44 User rank is Second Lieutenant (5000 - 10000 Reputation Level)karsh44 User rank is Second Lieutenant (5000 - 10000 Reputation Level)karsh44 User rank is Second Lieutenant (5000 - 10000 Reputation Level)karsh44 User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 1 Week 6 Days 13 h 13 m 21 sec
Reputation Power: 76
To connect from a web to a database, you'll need to use microsoft's asp (active server pages) or the open source PHP. One of these needs to be set up on your server, then you can write pages that will read/write to/from a database.
THere's tons of online help for both these programs, try Google. If you have questions about them, there are forums for each here at DevShed, or ask more on this thread if I haven't explained enough
HTH

Last edited by karsh44 : July 23rd, 2003 at 09:34 AM.

Reply With Quote
  #3  
Old July 23rd, 2003, 12:55 PM
Mirax's Avatar
Mirax Mirax is offline
Senior Member
Dev Shed Intermediate (1500 - 1999 posts)
 
Join Date: Jun 2000
Location: Enschede, The Netherlands
Posts: 1,527 Mirax User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 49 m 2 sec
Reputation Power: 10
While HTML and JavaScript (among things) are client side languages, you'll need a server side scripting language, like PHP , ASP (as karsh already mentioned) or Python to 'generate' the html files dynamically (with data taken from a database). Personally I use PHP for this and think it's pretty easy to learn and most ISP's support it. Within such a scripting language you can use SQL to query the database and transform the data into some html-page...

Look here for an example:
http://www.php.net/manual/en/ref.mysql.php
__________________
There are 10 types of people in this world - those who understand binary and those who don't...

PHP | MySQL | DevShed Forum Search | Google Search

Reply With Quote
  #4  
Old July 28th, 2003, 11:50 AM
vics vics is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Posts: 17 vics User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
thanks!

hey guys thanks for your help! - much appreciated! although i do believe I will be back as I am now attempting to download and install php and apache! And i am sure i will come across problems!!

thanks again!

vics

Reply With Quote
  #5  
Old July 29th, 2003, 04:48 PM
substring substring is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Posts: 31 substring User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
Quote:
I am now attempting to download and install php and apache!

Go ahead and try out php, but keep in the back of your mind that you can also create JavaBeans for database access and data manipulation.

Hope this helps.

Reply With Quote
Reply

Viewing: Dev Shed ForumsOtherBeginner Programming > Connecting MySQL to a web portal


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway