Home
Forums
Articles
Glossary
Awards
Register
Rules
Members
Search
Today's Posts
Mark Forums Read
Account Login
User Name
Password
Remember Me?
Latest Articles
The basic usage of PHPTAL, a XML/XHTML template library for PHP
by
awuehr
on
11-10-2008
in
Tips & Tricks
Vulnerable methods and the areas they are commonly trusted in.
by
Village Idiot
on
11-04-2008
in
Classes & Objects
Simple way to protect a form from bot
by
codefreek
on
10-23-2008
in
Basic
The Basics On: How Session Stealing Works
by
wiifanatic
on
09-12-2008
in
Security & Permissions
How to keep your forms from double posting data
by
drewbee
on
07-03-2008
in
Tips & Tricks
IRC Channel
Join the friendly bunch on IRC...
(
#TalkPHP on Freenode
)
...Also available via a
web interface
.
See
this thread
for information on the TalkPHP Free Hugs Initiative™.
Subject to availability.
Associates
Wired Flame
ClientExec
Handy PHP
PHP Kitchen
PHP Tutorials
Insane Visions
Associates
TalkPHP
>
Developer Forums
>
Advanced PHP Programming
»
Connecting To access with php
LinkBack
Thread Tools
Search this Thread
Display Modes
03-08-2009, 10:22 AM
#
1
(
permalink
)
digitak
The Visitor
Join Date: Feb 2009
Posts: 4
Thanks: 2
Connecting To access with php
hi !
how can i connect to access database and select,insert,update,delete from that ?
help me please
03-08-2009, 07:16 PM
#
2
(
permalink
)
Sakakuchi
The Contributor
Join Date: Feb 2009
Posts: 64
Thanks: 1
Not that I ever tried it, cause I think access simply sucks
, but as far as I know you must make and dsn ->pointing to the db.
then you connect like:
PHP Code:
$connect
=
odbc_connect
(
'DSN-NAME'
,
'USERNAME'
,
'PASSWORD'
);
think thats a way....
__________________
抒情編程
My ultra secret tool for answering questions I do not know the answer to.
:-P
The Following 2 Users Say Thank You to Sakakuchi For This Useful Post:
digitak
(03-09-2009),
iflashlord
(04-23-2009)
03-09-2009, 06:40 AM
#
3
(
permalink
)
digitak
The Visitor
Join Date: Feb 2009
Posts: 4
Thanks: 2
what is dsn ? :D
and how about select ,insert and ... ?
03-09-2009, 08:23 AM
#
4
(
permalink
)
Sakakuchi
The Contributor
Join Date: Feb 2009
Posts: 64
Thanks: 1
DSN:
http://en.wikipedia.org/wiki/Database_Source_Name
Creating a DSN under Windows XP:
Create a DSN under Windows...
(just google for other M$ Versions.)
Then you can use normal SQL-queries, maybe they differ from Mysql a little (Think to have heard something like this??!). Just google a bit for that syntax, should be pretty much the same
__________________
抒情編程
My ultra secret tool for answering questions I do not know the answer to.
:-P
«
Previous Thread
|
Next Thread
»
Currently Active Users Viewing This Thread: 1
(0 members and 1 guests)
Thread Tools
Search this Thread
Show Printable Version
Email this Page
Search this Thread
:
Advanced Search
Display Modes
Linear Mode
Switch to Hybrid Mode
Switch to Threaded Mode
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
Trackbacks
are
On
Pingbacks
are
On
Refbacks
are
On
Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
10 PHP Myths Dispelled
Wildhoney
General
9
06-15-2009
06:55 AM
PHP Compressor
Kalle
Script Giveaway
8
05-28-2008
12:14 AM
Apache-like Access Contol List script for PHP
Wildhoney
Script Giveaway
1
01-07-2008
04:40 AM
Error in connecting to MySQL via PHP
EyeDentify
MySQL & Databases
0
01-03-2008
01:06 PM
Do not allow direct access to php file.
Sam Granger
Absolute Beginners
6
10-17-2007
03:49 PM
All times are GMT. The time now is
08:03 PM
.
Contact Us
-
TalkPHP - PHP Community
-
Archive
-
Top
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by
vBSEO
3.1.0
Inactive Reminders By
Icora
Web Design
LinkBack
LinkBack URL
About LinkBacks