mindphp เขียน:ลอง print_r($joomlaconfig)
ดูว่ามีค่าจาก Joomla เข้ามาไหมครับ
JConfig Object ( [offline] => 0 [offline_message] => This site is down for maintenance.
Please check back again soon. [display_offline_message] => 1 [offline_image] => [sitename] => m039mindphp [editor] => tinymce [captcha] => 0 [list_limit] => 20 [access] => 1 [debug] => 0 [debug_lang] => 0 [dbtype] => mysqli [host] => localhost [user] => root [password] => [db] => m039 [dbprefix] => tx4th_ [live_site] => [secret] => mGZ848GMFKFFDiVC [gzip] => 0 [error_reporting] => default [helpurl] =>
https://help.joomla.org/proxy/index.php ... r}:{keyref} [ftp_host] => [ftp_port] => [ftp_user] => [ftp_pass] => [ftp_root] => [ftp_enable] => 0 [offset] => UTC [mailonline] => 1 [mailer] => mail [mailfrom] =>
[email protected] [fromname] => m039mindphp [sendmail] => /usr/sbin/sendmail [smtpauth] => 0 [smtpuser] => [smtppass] => [smtphost] => localhost [smtpsecure] => none [smtpport] => 25 [caching] => 0 [cache_handler] => file [cachetime] => 15 [cache_platformprefix] => 0 [MetaDesc] => m039mindphp [MetaKeys] => [MetaTitle] => 1 [MetaAuthor] => 1 [MetaVersion] => 0 [robots] => [sef] => 1 [sef_rewrite] => 0 [sef_suffix] => 0 [unicodeslugs] => 0 [feed_limit] => 10 [feed_email] => none [log_path] => C:\xampp\htdocs\m039mindphp\administrator/logs [tmp_path] => C:\xampp\htdocs\m039mindphp/tmp [lifetime] => 15 [session_handler] => database )
Fatal error: Uncaught Error: Call to undefined function mysql_connect() in C:\xampp\htdocs\m039mindphp\Ex-1-Form\connect.php:14 Stack trace: #0 C:\xampp\htdocs\m039mindphp\Ex-1-Form\form.php(3): require_once() #1 {main} thrown in C:\xampp\htdocs\m039mindphp\Ex-1-Form\connect.php on line 14