undefined function mysql_select_dbc()
Posted by: kongming57 (---.rivrw4.nsw.optusnet.com.au)
Date: October 29, 2006 04:18AM

Hi

How are you everyone?

i am novice of WAMPserver, currently , i am using the latest version of WAMP, however , when i try to connect with my databse, the screen pop up said :

Fatal error: Call to undefined function mysql_select_dbc() in C:\wamp\www\mysql.php on line 12

what is wrong with my WAMP

or how could i configure it to work correctly forme?


thank you very much


have a good day

Options: ReplyQuote
Re: undefined function mysql_select_dbc()
Posted by: CyberSpatium (71.237.217.---)
Date: October 29, 2006 08:02AM

you made a typo in your code, you wrote mysql_select_dbc but you probably meant mysql_select_db



CyberSpatium
English Forum Admin

Options: ReplyQuote
Re: undefined function mysql_select_dbc()
Posted by: kongming57 (---.mgd.com.au)
Date: October 30, 2006 08:29AM

hi


thank you for reply , finally, i found out the solution for this situatin

the correctly code must be $con = mysql_connect("localhost","users","password"winking smiley;




thank yo

Options: ReplyQuote


Sorry, only registered users may post in this forum.