Register    Login    Forum    FAQ

Board index » F.A.Q. » PHP




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Fatal error: Call to undefined function: ....
 Post Posted: 23 Jan 2009, 03:25 
Offline
User avatar

Joined: 19 Jan 2009, 13:04
Posts: 402
Location: อยู่ที่ไหนก็ได้...โตแล้ว
Code:
Fatal error: Call to undefined function: mysql_quary() in c:\appserv\www\testsqlsvr.php on line 6


ปัญหานี้มือใหม่อาจจะงงๆ ว่ามันเตือน ERROR อะไรกัน...

แรกๆ ที่ผมเจอมากับตัวก็ทำเอางงเหมือนกัน

เพราะพิมพ์ชื่อฟังค์ชั่นผิดไปนิดเดียว

มันเลยหาฟังค์ชั่นไม่เจอ...

เช่น

mysql_query()

พิพม์เป็น

mysql_quary()

แค่นี้ ก็เตือน ERROR แล้วครับ...

แล้ววิธีแก้ละ..

ไม่ยากครับ

ตรวจสอบชื่อฟังค์ชั่นที่เตือน ERROR ให้ดีๆ

มันเตือนตรงบันทัดไหน ให้เปิดบันทัดนั้น

แล้วแก้ไขชื่อฟังค์ชั่นให้ถูกต้องเลยครับ

ปัญหานี้จะหมดไปทันที...

อย่างตัวอย่างที่ผมให้

ผิด พิมพ์ผิดจากตัว e กลายเป็นตัว a

มันเลยหาฟังค์ชั่นไม่เจอ...

_________________
ขอบคุณซักคำ มันยากเกินไปไช่ไหม!!!...


   The following user would like to thank danya for this post:
Top 
 Profile  
 
 Post subject: Re: Fatal error: Call to undefined function: ....
 Post Posted: 24 Jan 2009, 02:05 
Offline
Site Admin

Joined: 19 Jan 2009, 13:31
Posts: 57
Fatal error: Call to undefined function:

และให้ดูด้วยว่า ได้ enable ฟังก์ชั่นนั้นๆ ไว้ด้วยหรือไม่ใน php.ini ครับ
เพราะบางทีมันไม่ใช่ฟังก์ชั่นพื้นฐาน :yoyo03:


   The following user would like to thank san for this post:
Top 
 Profile  
 
Display posts from previous:  Sort by  
 
Post new topic Reply to topic  [ 2 posts ] 

Board index » F.A.Q. » PHP


Who is online

Users browsing this forum: No registered users and 1 guest

 
 

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Jump to:  
cron
refresh
· 30 กระทู้อัพเดตล่าสุด ·