Page 1 of 1

Problem sending data from Dreamweaver forms to mySql databas

Posted: Thu Aug 07, 2003 7:02 am
by leslie_benjamin
I'd like to post data (usernam & password) from Dreamweaver forms to mysql database. What could be wrong for me to fail?

1. Are there database connectivity codes using PHP?
2. If so, what is the sample?

Kindly waiting a response...

Background:
Building site using Dreamweaver utility
Database is mySql
Table to be linked, "login"

Code: Select all

<?php

?>

Posted: Thu Aug 07, 2003 1:26 pm
by xisle
assuming you have php installed, start here to open a connection:
http://us2.php.net/function.mysql-connect

use mysql_select_db()
http://us2.php.net/manual/en/function.m ... ect-db.php

and then mysql_query()
http://us2.php.net/manual/en/function.mysql-query.php

have fun!

Posted: Sun Aug 10, 2003 8:45 am
by snek_one
ummm dreamweaver can do all that for you if you are using Dreamweaver MX..

I have built multiple sites with it now, and am admin of 1 which I keep on expanding.. most of the coding is done by dreamweaver and i just expand that with my own code..

if you need any example code let me know.. i got a couple of good scripts here which are easy to edit..

Posted: Wed Aug 13, 2003 3:03 pm
by xisle
nooo learn to code my friends... never trust anything with a name like 'dreamweaver'. we will help you see the light lol

Posted: Wed Aug 13, 2003 7:18 pm
by McGruff
Welcome to the forums.

This board is more for advanced theoretical issues - you'll probably get a better response in the normal board for basic questions.