Skip to main content
November 26, 2010
Question

Displaying data with a dynamic table. MySQL PHP

  • November 26, 2010
  • 1 reply
  • 1044 views

Hi...

I am trying to display data I setup in sql and display it in dw. I already inserted the record set into my php file in dw.

After this, I inserted the dynamic table by going to the insert menu/data object/dynamic data/ dynamic table.

Things look fine up to this point. But when I try to see my display data on the browser, I get this message:

Warning:  require_once(Connections/elclasico.php) [function.require-once]: failed to open stream: No such file or directory in /Applications/MAMP/htdocs/dwphpelclasico/list.php on line 1

I have my server folder setup to this:

/Applications/MAMP/htdocs/dwphpelclasico

thanks

This topic has been closed for replies.

1 reply

David_Powers
Inspiring
November 26, 2010

alexnyc87 wrote:

Warning:  require_once(Connections/elclasico.php) [function.require-once]: failed to open stream: No such file or directory in /Applications/MAMP/htdocs/dwphpelclasico/list.php on line 1

The error message is fairly clear. It says it can't find Connections/elclasico.php.

If the file exists, it suggests that your site definition is wrong. Given the server folder you're using, the Web URL (URL prefix in older versions of Dreamweaver) should be http://localhost/dwphpelclasico/.

November 27, 2010

Hi....

yes, these are the settings I have:

server folder: /Applications/MAMP/htdocs/dwphpelclasico

web url:  http://localhost/dwphpelclasico/

They should be correct. But I still get the message:

Warning:  require_once(Connections/elclasico.php) [function.require-once]: failed to open stream: No such file or directory in /Applications/MAMP/htdocs/dwphpelclasico/list.php on line 1

Could it be something with list.php?

This is a new file I created to display my tableand  where I am inserted the record set.

thanks

David_Powers
Inspiring
November 27, 2010

alexnyc87 wrote:

Warning:  require_once(Connections/elclasico.php) [function.require-once]: failed to open stream: No such file or directory in /Applications/MAMP/htdocs/dwphpelclasico/list.php on line 1

Could it be something with list.php?

No, the message is telling you that list.php is trying to include (require_once) a file called Connections/elclasico.php, and that it can't find it. Do you have a folder called Connections in the site root (dwphpelclasico), and does it contain a file called elclasico.php?