Snot
06-12-2008, 08:49 PM
This is my first time working with php and databases and I would like some advice trying to connect them.
This is my database table fields
http://www.tarantuladatabase.com/tf.jpg
This is my field values
http://www.tarantuladatabase.com/fv.jpg
I am using two php files one of them is called connect.php and it only has the information to connect to my database. The other files is called echo.php. The form is at
http://www.tarantuladatabase.com/assets/pages/search.html
When I try and connect I am getting this error message
Warning: include(includes/connect.php) [function.include]: failed to open stream: No such file or directory in /home/e0120590/public_html/tarantuladatabase.com/assets/php/echo.php on line 38
Warning: include() [function.include]: Failed opening 'includes/connect.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/e0120590/public_html/tarantuladatabase.com/assets/php/echo.php on line 38
Warning: mysql_query() [function.mysql-query]: Access denied for user 'e0120590'@'localhost' (using password: NO) in /home/e0120590/public_html/tarantuladatabase.com/assets/php/echo.php on line 40
Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in /home/e0120590/public_html/tarantuladatabase.com/assets/php/echo.php on line 40
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/e0120590/public_html/tarantuladatabase.com/assets/php/echo.php on line 43
Warning: mysql_close(): no MySQL-Link resource supplied in /home/e0120590/public_html/tarantuladatabase.com/assets/php/echo.php on line 48
I am kinda stuck right here so any advice would be greatly appreciated.
Here are the files I'm working with http://www.tarantuladatabase.com/3_Files.zip
This is my database table fields
http://www.tarantuladatabase.com/tf.jpg
This is my field values
http://www.tarantuladatabase.com/fv.jpg
I am using two php files one of them is called connect.php and it only has the information to connect to my database. The other files is called echo.php. The form is at
http://www.tarantuladatabase.com/assets/pages/search.html
When I try and connect I am getting this error message
Warning: include(includes/connect.php) [function.include]: failed to open stream: No such file or directory in /home/e0120590/public_html/tarantuladatabase.com/assets/php/echo.php on line 38
Warning: include() [function.include]: Failed opening 'includes/connect.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/e0120590/public_html/tarantuladatabase.com/assets/php/echo.php on line 38
Warning: mysql_query() [function.mysql-query]: Access denied for user 'e0120590'@'localhost' (using password: NO) in /home/e0120590/public_html/tarantuladatabase.com/assets/php/echo.php on line 40
Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in /home/e0120590/public_html/tarantuladatabase.com/assets/php/echo.php on line 40
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/e0120590/public_html/tarantuladatabase.com/assets/php/echo.php on line 43
Warning: mysql_close(): no MySQL-Link resource supplied in /home/e0120590/public_html/tarantuladatabase.com/assets/php/echo.php on line 48
I am kinda stuck right here so any advice would be greatly appreciated.
Here are the files I'm working with http://www.tarantuladatabase.com/3_Files.zip