Page 1 of 1

mysql_select()

Posted: Thu Aug 22, 2002 2:10 pm
by uniquneo
This is the error im getting:

Fatal error: Call to undefined function: mysql_select() in /users/iwebland.com/cheatsonline/php/Sessionlogin/sessionauth.php on line 23

what do i do to get rid of this iam confused

Thanks get back to me on my email niall_hatton@hotmail.com

help much apprecaited

Or MSN

Niall Hatton thankyou webmaster at http://www.tipsandcheats.co.uk

Posted: Thu Aug 22, 2002 2:56 pm
by DSM
- :oops: -

Posted: Thu Aug 22, 2002 2:56 pm
by DSM
looks like you are calling a non-exisistant function somewhere around line 23. Thats the really cool thing about Php, it will tell you where you screwed up, just look for it. :wink:

Posted: Thu Aug 22, 2002 3:00 pm
by nielsene
Make a test file of

Code: Select all

<?php echo phpinfo();?>
Check for a block about 1/2 way down the page labelled MYSQL. It sounds to me like your PHP wasn't compiled with MySQL support.

Posted: Thu Aug 22, 2002 3:04 pm
by volka
if so, you have to recompile your php (if possible) with --with-mysql[=DIR]
--with-mysql[=DIR]
Include MySQL support. DIR is the MySQL base directory. If unspecified, the bundled MySQL library will be used.
so, if uncertain try --with-mysql

Posted: Thu Aug 22, 2002 3:47 pm
by jason
Um... I don't think (double checks the manual, yup) PHP has a mysql_select() function? Maybe you are thinking mysql_select_db() or mysql_query()

Posted: Thu Aug 22, 2002 4:39 pm
by volka
DOH - anybody knows a good oculist? 8O

Posted: Fri Aug 23, 2002 4:30 am
by mikeq
volka wrote:DOH - anybody knows a good oculist? 8O
Jesus, anybody know a good dictionary. :D

Posted: Fri Aug 23, 2002 4:54 am
by volka
:oops: I never will use again the dictionary I got in school.
Is it a least old fashioned or complete nonsense?

"Ah! I will not buy this tobacconist's, it is scratched." :?

Posted: Fri Aug 23, 2002 2:59 pm
by Takuma
no function called mysql_select in PHP... :evil: