i'm very much lost now, i've been researching all day and come to nother lol.
Site: http://0q6.com/index.asp
What i want is, when a user inputs the domain in the 'domain text box' e.g. expiringdomain.com i want it to store in a Access database When the user clicks a submit button. What code will i need to make this work
Access database name: Dropcatcher
Access Table: Domains
Filed: Domains - i want the domain to be stored in this field.
Help linking to my Access database
Moderator: General Moderators
-
mattonline
- Forum Newbie
- Posts: 2
- Joined: Mon May 07, 2007 1:23 pm
Help linking to my Access database
Last edited by mattonline on Mon May 07, 2007 3:42 pm, edited 1 time in total.
- RobertGonzalez
- Site Administrator
- Posts: 14293
- Joined: Tue Sep 09, 2003 6:04 pm
- Location: Fremont, CA, USA
Descriptive subjects
Please use a more descriptive title, according to our forum rules:
You could also look into using PDO for a universal database abstraction interface.
As it relates to connecting to a database, that is covered in just about every tutorial there is on PHP. Connecting to a MySQL database would use either the mysql_* family of functions or the mysqli_* family of functions. Connecting to Access would require using ODBC functions.[url=http://forums.devnetwork.net/viewtopic.php?t=30037]Forum Rules[/url] Section 1.1 wrote:2. Use descriptive subjects when you start a new thread. Vague titles such as "Help!", "Why?" are misleading and keep you from receiving an answer to your question.
You could also look into using PDO for a universal database abstraction interface.
-
mattonline
- Forum Newbie
- Posts: 2
- Joined: Mon May 07, 2007 1:23 pm
- RobertGonzalez
- Site Administrator
- Posts: 14293
- Joined: Tue Sep 09, 2003 6:04 pm
- Location: Fremont, CA, USA
odbc_connect()
Start with this one. See if you can connect. You may need to set up a DSN and connect using that.
Start with this one. See if you can connect. You may need to set up a DSN and connect using that.