Jump to content

Recommended Posts

Hey PHP Freaks Forum Members,

I'm currently studying PHP, and I'm pretty much experienced with Dreamweaver,

Its just I make this layout through dreamweaver, I simply insert the include tags, like for the menu and for the footer.

<? include('menu.html'); ?>

and

<? include('footer.html'); ?>

And well once I either save the php file in dreamweaver, once I see it in design view, the layout which is in tables, it loses its table and the menu text are everywhere.

But if i upload it works fine once I view it in internet explorer.

Its just in design view it won't look okay,

So I'm like wondering if i'm able to continue this site or not, since using the include tag in a table in dreamweaver mx 2004.

Please can someone help me out, so I don't give up creating this site.

[a href=\"http://www.wrestlingchaos.net/awf\" target=\"_blank\"]www.wrestlingchaos.net/awf[/a]

If you want to view the layout that I made.

Nothing special, please don't laugh, its just for a indy wrestling promotion here in Sydney, and well they have a crap site, and I want to help them out with the site, and plus I'll increase more sites to my portfolio.

Thanks in advance to who helps me out,

Shaun
Link to comment
https://forums.phpfreaks.com/topic/6787-include-wont-work-through-dreamweaver/
Share on other sites

Dreamweaver wont parse any PHP code as it isn't a PHP IDE. So there is no point at looking at the Design View as where your PHP code is it may/should display as a little gold shield with PHP written on it.

To preview your site just upload the edited file(s) and view it. Or install XAMPP or WAMP so you can view you php files locally by going to [a href=\"http://localhost/\" target=\"_blank\"]http://localhost/[/a]
This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.