PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Moderator: General Moderators
uniquneo
Forum Newbie
Posts: 10 Joined: Thu Aug 22, 2002 2:10 pm
Location: Portsmouth
Contact:
Post
by uniquneo » Thu Aug 22, 2002 2:10 pm
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
DSM
Forum Contributor
Posts: 101 Joined: Thu May 02, 2002 11:51 am
Location: New Mexico, USA
Post
by DSM » Thu Aug 22, 2002 2:56 pm
-
-
Last edited by
DSM on Thu Aug 22, 2002 2:57 pm, edited 1 time in total.
DSM
Forum Contributor
Posts: 101 Joined: Thu May 02, 2002 11:51 am
Location: New Mexico, USA
Post
by DSM » Thu Aug 22, 2002 2:56 pm
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.
nielsene
DevNet Resident
Posts: 1834 Joined: Fri Aug 16, 2002 8:57 am
Location: Watertown, MA
Post
by nielsene » Thu Aug 22, 2002 3:00 pm
Make a test file of
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.
volka
DevNet Evangelist
Posts: 8391 Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger
Post
by volka » Thu Aug 22, 2002 3:04 pm
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
jason
Site Admin
Posts: 1767 Joined: Thu Apr 18, 2002 3:14 pm
Location: Montreal, CA
Contact:
Post
by jason » Thu Aug 22, 2002 3:47 pm
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()
volka
DevNet Evangelist
Posts: 8391 Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger
Post
by volka » Thu Aug 22, 2002 4:39 pm
DOH - anybody knows a good oculist?
mikeq
Forum Regular
Posts: 512 Joined: Fri May 03, 2002 3:33 am
Location: Edinburgh, Scotland
Post
by mikeq » Fri Aug 23, 2002 4:30 am
volka wrote: DOH - anybody knows a good oculist?
Jesus, anybody know a good dictionary.
volka
DevNet Evangelist
Posts: 8391 Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger
Post
by volka » Fri Aug 23, 2002 4:54 am
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."
Takuma
Forum Regular
Posts: 931 Joined: Sun Aug 04, 2002 10:24 am
Location: UK
Contact:
Post
by Takuma » Fri Aug 23, 2002 2:59 pm
no function called mysql_select in PHP...