database problem
Posted by: cloudysky (82.115.17.---)
Date: March 25, 2006 12:26AM

hi
I have installed wamp 1.6.1 but there is some problem with mysql codes
my codes is working corectly in wamp 1.4.6 and ai can connect to database and read and write data in it but thesame code dosent work on wamp 1.6.1
and this is the error :

mysql_select_db(): supplied argument is not a valid MySQL-Link resource in D:\wamp\www\bayanfajr\index.php on line 106
I cant run the querry because

so what should i do to recover this problem?
please guide me soon
thanks

Options: ReplyQuote
Re: database problem
Posted by: CyberSpatium (---.hsd1.or.comcast.net)
Date: March 25, 2006 07:02AM

If you are getting a supplied argument error, you are not using funtion the right way

post your code so I can see what is causing your problem


[us3.php.net]

mysql_select_db ( string database_name [, resource link_identifier] )



Post Edited (03-25-06 07:02)

CyberSpatium
----------------------
WAMP Forum Admin

Web Development for Newbie's Blog - Check out my new blog. It is for web developers, and especially tailored for the web development newbie. If you are not fluent in “geek speak”, then this incredible resource is just you. And even if you are a web development pro, this is a great resource to check out some of the latest web development tips, news, tutorials, codes and more.

Options: ReplyQuote


Sorry, only registered users may post in this forum.