RSS Forums RSS
Please support our PHP advertiser: Lunarpages PHP Web Hosting
Views: 1990 | Replies: 5 | Thread Tools  Display Modes
Join Date: Aug 2005
Posts: 3
Reputation: porchy33 is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
porchy33 porchy33 is offline Offline
Newbie Poster

Another newbie Q&A

  #1  
Sep 12th, 2005
Hi, I'm new to php and am trying to connect to mysql like this:

<?php
$conn = msql_connect("localhost", "user", "password");
echo $conn;
?>

But when i do I get this:

Fatal error: Call to undefined function msql_connect() in C:\www\PHP_mysql\testconn.php on line 2

I wonder why?
AddThis Social Bookmark Button
Reply With Quote  

Only community members can participate in forum threads. You must register or log in to contribute.



Similar Threads
Other Threads in the PHP Forum
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes
Forums | Blogs | Tutorials | Code Snippets | Whitepapers | RSS Feeds | Advertising
All times are GMT -4. The time now is 3:43 am.
Newsletter Archive - Sitemap - Privacy Statement - Acceptable Use Policy - Contact Us
Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC