how to insert .php code in website designed using publisher

R

Ricky

I am creating a web site using ms publisher. i want to use a photo gallary
which displays pictures stored in a folder. pls help
 
D

DavidF

You might be able to get it to work. You would probably use the insert html
code fragment tool to insert the code that works with the php, but there is
not built-in support for this.

You might want to consider Porta or JAlbum instead. They use javascript and
I have used both in Publisher web sites. Porta is the easiest of the two.
Both are free.

DavidF
 
D

div

hi, i've successfully inserted my php code in the htm page made with
publisher 2007, and saved the page as .php in dreamweaver. but when i
reopened my php page in publisher, the whole design disappeared and code
started showing on the page in publisher.
pls let me know how to open my php page in publisher.
 
M

Mike Koewler

Pub opens files with a .pub extension. If you want to open a php file,
try NotePad.

Mike
 
D

div

Mike thanks for the reply,
but what i really wanted is: how to modify my 'design' (that i created in
publisher) once i've inserted my php code.
do u mean to say i'll have to open my original '.pub', modify the design and
then insert my php code once again?
 
D

DavidF

You can use the insert html code fragment tool to insert code fragments,
scripts etc. to bring some dynamic functions to a static Publisher web page.
How or why you are trying to combine or insert .php files, code or pages
into a Publisher page seems beyond the scope of a Publisher built website.
Perhaps you should read more about php scripting language:
http://en.wikipedia.org/wiki/PHP
http://www.php.net/

Or maybe you are making all this more complicated than you need. If there
are design elements on the php page that you want on your Publisher page,
why not just copy and paste?

Dreamweaver? Why are you trying to combine three different tools to build
your site?

More specifically what are you trying to do?

Good luck.

DavidF
 
M

Mike Koewler

div,

You shouldn't have to add the php code more than once, if you've
inserted as an html code fragment or into an iframe (my favorite way for
many snippets) Specifically, what code are you using? PHP is fluid,
meaning it can adjust to a browser's resolution.

Mike
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top