| Forum |
|
|||||||
| Tutorials This section offers tutorials and How to's on just about anything related to computers and IT. Note: All tutorials are courtesy the posters and not verified by Digit |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|
#1 (permalink) |
|
Right Off the Assembly Line
Join Date: Nov 2006
Posts: 6
|
and these days i m learing html but acc to our sylabus, my sir only teach bout how to design webpages but nevet told, how to connect these webpages to the databases. like i have done vb, and i knw how to connect to the database so can anybody tell me wats the procedure to connect the html files to the databases.. thanks |
|
|
| Advertisements. Register and be a member of the community to get rid of them. | |
|
Advertisement
|
|
|
|
#2 (permalink) |
|
True Techie
Join Date: Apr 2005
Posts: 259
|
WRONG SECTION
You can connect HTML pages to databases, provided you are using ASP,PHP,JSP,JAVA ....etc, for designing, with HTML. Using these languages you can connect to the databases such as MySql,MS access,MSSql etc. Connecting to MySql database in PHP is something like this <?php $dbhost = 'localhost'; $dbuser = 'root'; $dbpass = 'password'; $conn = mysql_connect($dbhost, $dbuser, $dbpass) or die ('Error connecting to mysql'); $dbname = 'petstore'; mysql_select_db($dbname); ?>
__________________
http://www.mytechyard.com/ Last edited by nithinks; 05-07-2007 at 09:29 PM. |
|
|
|
|
#4 (permalink) |
|
True Techie
Join Date: Apr 2005
Posts: 259
|
the above code will connect PHP page to MySql, and you can learn jsp,PHP. easily by studying some online books , programs.Just go through some PHP projects online, you will get an idea.
__________________
http://www.mytechyard.com/ |
|
|
|
|
#6 (permalink) |
|
Cool as a CUCUMBAR ! ! !
Join Date: Dec 2003
Posts: 5,002
|
@SMARTLUBANA ......... things u r learning r just BASIC HTML ......
& 1`s u want is ADVANCE HTML .......... try learning these lang from : http://www.w3schools.com/default.asp ...... hope it helps u ..........
__________________
... W H O T ... |
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| HTML to Compiled HTML(.chm) | [A]bu | QnA (read only) | 3 | 20-04-2007 10:08 PM |
| HTML | himtuna | QnA (read only) | 20 | 31-10-2005 10:55 PM |
| HTML COURSE???? | himtuna | QnA (read only) | 23 | 14-06-2005 05:34 PM |
| HTML tp PHP | help_me | QnA (read only) | 2 | 02-06-2005 10:03 AM |
| HTML to exe | vijaythefool | QnA (read only) | 5 | 24-01-2005 07:39 PM |