•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the MySQL section within the Web Development category of DaniWeb, a massive community of 425,896 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 1,907 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our MySQL advertiser: Programming Forums
Views: 344 | Replies: 1
![]() |
•
•
Join Date: Jun 2008
Posts: 31
Reputation:
Rep Power: 1
Solved Threads: 0
Hi ,
Can anyone tell me is there any other connection method(mysql with php) other than this.Please help me..
thanks
Punithapary
Can anyone tell me is there any other connection method(mysql with php) other than this.Please help me..
php Syntax (Toggle Plain Text)
$hostingname="localhost"; $username="root"; $password=""; $dbname="test"; $rr=mysql_connect("$hostingname","$username","$password")or die(mysql_error()); mysql_query($rr); mysql_select_db($dbname) or die(mysql_error());
thanks
Punithapary
Last edited by peter_budo : Jul 5th, 2008 at 12:39 pm. Reason: Keep It Organized - please use [code] tags
![]() |
•
•
•
•
•
•
•
•
DaniWeb MySQL Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
- php connection to mysql headache (PHP)
- php mysql help (PHP)
- MYSQL/PHP variable check (MySQL)
- Variable Validation & MYSQL (PHP)
- I had a experience of a website coded in PHP (PHP)
Other Threads in the MySQL Forum
- Previous Thread: query to skip empty fields
- Next Thread: Transferring members


Linear Mode