javascript - Trying to put png images through an php include... How is it possible? -


im working on dreamweaver php coded files, im using testing server located on computer...

im trying add png images js 'swap' function, (an image when cursor on top changes). everytime put on include shows error message... did empty file put images swap js function , working in empty page. pictures swap .png , have links take different pages... work... when put include call pictures to, pictures not show.

in main page want include put

     php include ("_includes/swaplinks.php") 

but put live show orange error message says include cant found... error says "the path not in server" not true cause checked , in server... correct... help?

try using full paths:

include( $_server['document_root'] . '/path/to/swaplinks.php' ); 

Comments

Popular posts from this blog

Unable to remove the www from url on https using .htaccess -